[Pythonmac-SIG] How to make 2 scripts in one application

Chris Van Bael chris.van.bael at gmail.com
Mon Mar 5 13:45:25 CET 2007


Hi all,

doesn't anybody have an idea on how to solve this issue?

Thanks,

Chris

On 2/27/07, Chris Van Bael <chris.van.bael at gmail.com> wrote:
> Hi all,
>
> Maybe a totally noob question, but I'll ask it anyway since I couldn't
> find an answer on the series of tubes...
> I'm working on a pygame program that runs on Linux, Windows and Mac.
> It uses an database which it accesses through SQLAlchemy.
> So on Linux in setup.py we have a section to install the program and
> create that database.
> Now on Windows with py2exe I have a setup.py which has a console and a
> windows script.
> The windows script runs the program and the console script sets up the database.
> Since I use no library.zip file, this can also access the SQLAlchemy modules.
>
> Now I want to do something similar to that for OSX.
> I cannot run the script with the python installed on OSX because it
> needs SQLAlchemy.
> But the modules I need are somewhere in the application bundle, can I
> use them somehow?
>
> Greets,
>
> Chris
>


More information about the Pythonmac-SIG mailing list