Re: embedded python in c++ packaging

2008-03-25 Thread Furkan Kuru
nely control what you expose to python, so you don't > wind up exposing the whole C++ API. > > > > > > > > > > -- > *From:* Furkan Kuru [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, February 07, 2008 6:06 PM > *To:* python-list@p

Re: embedded python in c++ packaging

2008-02-07 Thread Gabriel Genellina
En Thu, 07 Feb 2008 21:05:46 -0200, Furkan Kuru <[EMAIL PROTECTED]> 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? Alm

RE: embedded python in c++ packaging

2008-02-07 Thread Bronner, Gregory
e. I use one giant SWIG module (see init function above) SWIG allows you to finely control what you expose to python, so you don't wind up exposing the whole C++ API. From: Furkan Kuru [mailto:[EMAIL PROTECTED] Sent: Thursday, Feb

Re: embedded python in c++ packaging

2008-02-07 Thread Furkan Kuru
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? On 2/7/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > En Thu, 07 Feb 2008 16:18:57 -0200

Re: embedded python in c++ packaging

2008-02-07 Thread Gabriel Genellina
En Thu, 07 Feb 2008 16:18:57 -0200, Joshua Kugler <[EMAIL PROTECTED]> escribió: > Furkan Kuru wrote: >> >> 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

Re: embedded python in c++ packaging

2008-02-07 Thread Joshua Kugler
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. > I

Re: embedded python in c++ packaging

2008-02-07 Thread Warren Myers
The Python byte-code files are already pretty dense, so compressing them further is unlikely to work if you try to put them in a zip. WMM On Feb 7, 2008 11:39 AM, Furkan Kuru <[EMAIL PROTECTED]> wrote: > Hello, > > I have been developing an application in C++ that embeds Python > interpreter. >

embedded python in c++ packaging

2008-02-07 Thread Furkan Kuru
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