[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: embedded python in c++ packaging

Joshua J. Kugler

2/7/2008 6:19:00 PM

Furkan Kuru wrote:
> Hello,
>
> I have been developing an application in C++ that embeds Python
> interpreter. It takes advantage of too many modules from Python.
> When I want to package this application, I need to add too many files
> (.pyc) from Python/lib folder together with Python25.dll.
> Is there a way to pack these .pyc files to a zip file and redirect
> Python25.dll to that zip file?

That is effectively what py2exe does with the modules required by the main
application. It takes all the required modules and puts them in a
library.zip file. You might take a look at how it does it.

j