Hi Giovanni,
thanks for your comments.
A few months ago we had a bug report about possible security issue with
LD_LIBRARY_PATH being relative.
My thinking was to check other paths manipulated in loader and make them
absolute too (probably other possible issues).
Today I tested the following code and it fails if sys.path is not
absolute:
---
import os
import sys
print os.getcwdu()
print sys.path
print 60 * '-'
os.chdir('/tmp')
import datetime
print os.getcwdu()
print sys.path
print 60 * '-'
---
I'll add more comments there.
Giovanni Bajo píše v So 26. 11. 2011 v 17:22 +0100:
> Hi Martin,
>
> what is the rationale behind changeset 1790?
> http://www.pyinstaller.org/changeset/1790
>
> I don't think PyInstaller should do these things behind the scenes, not
> without a documented and valid reason (which is not stated in the code
> comments nor commit comments).
>
> Thanks!
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.