Message3861

Author otmarhumbel
Recipients otmarhumbel, pjenvey
Date 2008-11-27.16:57:04
SpamBayes Score 0.0003638688
Marked as misclassified No
Message-id <1227805025.81.0.865991760307.issue1180@psf.upfronthosting.co.za>
In-reply-to
Content
Commenting out the offending lines in site.py, i got:

C:\stuff\jython\virtualenv>..\jython5639\jython.bat virtualenv.py -v
ENVs\2nd_try
<snip>
Testing executable with ENVs\2nd_try\bin\jython.bat -c "import sys;
print sys.prefix"
*sys-package-mgr*: processing new jar,
'C:\stuff\jython\virtualenv\ENVs\2nd_try\jython-complete.jar'
Usage: virtualenv.py [OPTIONS] DEST_DIR

virtualenv.py: error: no such option: -c
ERROR: The executable ENVs\2nd_try\bin\jython.bat is not functioning


It looks like the main() method of virtualenv.py is reentrant.
Definitely out of ideas now.

BUT, manually testing the just created jython.bat proves that sys.prefix
is correct:

C:\stuff\jython\virtualenv>ENVs\2nd_try\bin\jython.bat -c "import sys;
print sys.prefix"
C:\stuff\jython\virtualenv\ENVs\2nd_try

So i think that the .bat part of the story is solved.
History
Date User Action Args
2008-11-27 16:57:05otmarhumbelsetmessageid: <1227805025.81.0.865991760307.issue1180@psf.upfronthosting.co.za>
2008-11-27 16:57:05otmarhumbelsetrecipients: + otmarhumbel, pjenvey
2008-11-27 16:57:05otmarhumbellinkissue1180 messages
2008-11-27 16:57:05otmarhumbelcreate