Ram píše v Út 25. 01. 2011 v 17:27 -0800:
> 
> Thanks a lot. Another related question. We currently use pkg_resources
> in our project and was wondering if there are any general suggested
> ways to replace pkg_resources in big projects.

I'm sorry, I don't know much about pkg_resources.

> Also, how to execute python scripts from inside the .exe file? [we
> currently use subprocess to do this]

In general, pyinstaller is not intended for this purpose.

With an app created by pyinstaller is distributed only a subset of full
python distribution. So if your script uses any module, which is not
packaged with your app, it won't work.

But if you would like to create an app with several exe files and the
other exe files would be executed in subprocess from the main exe - in
svn version of pyinstaller there is new feature called 'multiprocess',
which allows to do this. Some instructions how to use that can be found
in the manual to svn version:

http://www.pyinstaller.org/export/latest/trunk/doc/Manual.html?format=raw

However this feature is new and it is not yet well tested.



-- 
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.

Reply via email to