delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/14/12:43:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <200312141743.hBEHhHDG011268@mx1.cs.umb.edu>
To: cygwin AT cygwin DOT com
Subject: Problem with sys.executable in python.
Reply-to: rouilj AT ieee DOT org
Date: Sun, 14 Dec 2003 12:43:17 -0500
From: "John P. Rouillard" <rouilj AT cs DOT umb DOT edu>

Hi all:

Can somebody with anup to date python please run the following program
interactively:

  import sys
  print sys.executable

When I run this, sys.executable returns the current working directory,
not /usr/bin/python.

I just had to have my machine rebuilt from an image, and I have
already discovered that the restore doesn't preserve case, so things
were/are kind of goofy in my cygwin installation. I reinstalled python
and that cleaned up a lot of breakage.

cygcheck -c cygwin python shows:

Package              Version        Status
cygwin               1.5.5-1        OK
python               2.3.2-1        OK

Does anybody know of a way to get cycheck to check the case of
filenames/directories and report incorrect case as well? The brain
dead approach of

  CYGWIN=check_case:strict cygcheck -c python

didn't work. Not that I really expected it to since cygcheck isn't
linked against cygwin1.dll 


				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019