Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Shipping embedded Python project

Reply
Thread Tools

Shipping embedded Python project

 
 
Miki Tebeka
Guest
Posts: n/a
 
      05-10-2004
Hello,

I've extended a C++ project with Python.
I'd like to ship the new project with all the required Python modules
but *without* installing Python on client machines.

I know that py2exe/Installer/cx_freeze ... know how to find which
modules are needed and pack them.

Is there a "standard" way to do this? I didn't find anything in the docs.

Thanks.
Miki
 
Reply With Quote
 
 
 
 
Thomas Heller
Guest
Posts: n/a
 
      05-10-2004
Miki Tebeka <> writes:

> Hello,
>
> I've extended a C++ project with Python.
> I'd like to ship the new project with all the required Python modules
> but *without* installing Python on client machines.
>
> I know that py2exe/Installer/cx_freeze ... know how to find which
> modules are needed and pack them.
>
> Is there a "standard" way to do this? I didn't find anything in the docs.


py2exe and cx_freeze (not 100% sure about the latter) use modulefinder
to find the modules needed. Installer has it's own mf5.py.

Or you use py2exe to build a zip-compatible archive, and insert it into
sys.path in your program. Do not specify any of the console and windows
options, and pass your 'main-module' with the --includes command line
option. py2exe will happily create a dist directory for you, without an
exe-file.

Thomas


 
Reply With Quote
 
 
 
 
Miki Tebeka
Guest
Posts: n/a
 
      05-11-2004
Hello Thomas,

> Or you use py2exe to build a zip-compatible archive, and insert it into
> sys.path in your program. Do not specify any of the console and windows
> options, and pass your 'main-module' with the --includes command line
> option. py2exe will happily create a dist directory for you, without an
> exe-file.


Great! thanks.
Miki
 
Reply With Quote
 
Miki Tebeka
Guest
Posts: n/a
 
      05-11-2004
Hello Thomas,

> Or you use py2exe to build a zip-compatible archive, and insert it into
> sys.path in your program. Do not specify any of the console and windows
> options, and pass your 'main-module' with the --includes command line
> option. py2exe will happily create a dist directory for you, without an
> exe-file.


Great! thanks.
Miki

 
Reply With Quote
 
Thomas Heller
Guest
Posts: n/a
 
      05-11-2004
Miki Tebeka <> writes:

> Hello Thomas,
>
>> Or you use py2exe to build a zip-compatible archive, and insert it into
>> sys.path in your program. Do not specify any of the console and windows
>> options, and pass your 'main-module' with the --includes command line
>> option. py2exe will happily create a dist directory for you, without an
>> exe-file.

>
> Great! thanks.


If this works for you, it would be great if you write up a small recipe
into the py2exe wiki.

Thomas


 
Reply With Quote
 
Miki Tebeka
Guest
Posts: n/a
 
      05-13-2004
Hello Thomas,

> If this works for you, it would be great if you write up a small recipe
> into the py2exe wiki.

http://starship.python.net/crew/thel...ippingEmbedded

First time doing Wiki stuff. Fun.
Miki
 
Reply With Quote
 
Miki Tebeka
Guest
Posts: n/a
 
      05-13-2004
Hello Thomas,

> If this works for you, it would be great if you write up a small recipe
> into the py2exe wiki.

http://starship.python.net/crew/thel...ippingEmbedded

First time doing Wiki stuff. Fun.
Miki

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Shipping Auto Shipping Scheduling:car moving auto transport linkswanted ASP .Net 0 02-16-2008 02:40 AM
Embedded languages based on early Ada (from "Re: Preferred OS, processor family for running embedded Ada?") Colin Paul Gloster VHDL 48 04-10-2007 10:31 AM
embedded python project msy Python 0 04-05-2007 03:47 PM
embedded python project msy Python 0 04-05-2007 03:47 PM
How to display images embedded in e-mail as embedded, not attachments Jim Firefox 4 12-11-2004 05:36 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57