[PEAK] madness
Phillip J. Eby
pje at telecommunity.com
Tue May 30 13:54:17 EDT 2006
At 06:57 PM 5/30/2006 +0200, Ronald Oussoren wrote:
>On 30-mei-2006, at 18:20, Vladimir Iliev wrote:
>
>>hi,
>>i've just upgraded my peak to the latest trunk, and when i tried to
>>start my python, i've got this:
>>
>>'import site' failed; traceback:
>>Traceback (most recent call last):
>> File "c:\python24\lib\site.py", line 397, in ?
>> main()
>> File "c:\python24\lib\site.py", line 382, in main
>> paths_in_sys = addsitepackages(paths_in_sys)
>> File "c:\python24\lib\site.py", line 203, in addsitepackages
>> addsitedir(sitedir, known_paths)
>> File "c:\python24\lib\site.py", line 166, in addsitedir
>> addpackage(sitedir, name, known_paths)
>> File "c:\python24\lib\site.py", line 135, in addpackage
>> exec line
>> File "<string>", line 1
>> importing-1.9.1-py2.4.egg
>> ^
>>SyntaxError: invalid syntax
>
>That's a "feature" of site.py, if a line in a .pth file starts with
>"import" it is executed as a line of python code.
Yipes. Looks like I need to fix this as a bug in setuptools.
More information about the PEAK
mailing list