[Ironpython-users] Distributing apps

mchalkley at mail.com mchalkley at mail.com
Mon Mar 5 14:11:18 CET 2012

Sunday, March 4, 2012, 11:54:19 PM, you wrote:

> On Sun, Mar 4, 2012 at 6:35 PM,  <mchalkley at mail.com> wrote:
>> I have one more question regarding deploying python apps. If I put the
>> python libraries I'm using (string, etc.) into a zip file, the app
>> doesn't see it in the current working directory, for some reason.
>> Since there's no PYTHONPATH on the target machine, and the 'os' module
>> isn't available until after the library is imported, what's the best
>> way to specify the path to the zipped lib file? I can specify a
>> complete path, using sys.path.append (e.g. 'c:\lib.zip'), which
>> requres putting it there, but is there a way specify the current
>> working directory, so I can deploy the program in one place, rather
>> than making the user copy the library to C:\ directory?

> Does that work on CPython? If so, it's a bug, so please open an issue for it.

> - Jeff

Done - thanks!


More information about the Ironpython-users mailing list