embedded python in c++ packaging
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Thu Feb 7 21:48:53 EST 2008
More information about the Python-list mailing list
Thu Feb 7 21:48:53 EST 2008
- Previous message (by thread): embedded python in c++ packaging
- Next message (by thread): What do Python IDEs use for the member drop-down?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
En Thu, 07 Feb 2008 21:05:46 -0200, Furkan Kuru <furkankuru at gmail.com> escribió: > I do not have access to my development machine right now. > but is it enough adding just a simple line at the top of my main python > file > 'sys.path.append("modules.zip")' before importing any other modules? Almost. Some imports (site, warnings, os...) are done when Py_Initialize is executed, before there is a chance of modifying sys.path. You'll have to modify the environment (PYTHONPATH var) or look at how py2exe does that. Or use the name pythonXX.zip, which is already in sys.path (see PEP 273 http://www.python.org/dev/peps/pep-0273/ ) -- Gabriel Genellina
- Previous message (by thread): embedded python in c++ packaging
- Next message (by thread): What do Python IDEs use for the member drop-down?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list