|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
about py2exe
there's one question
i have some *.py files, a.py import someting from b.py but when i use py2exe to pack it, it seems py2exe doesn't pack b.py into this package how to pack them all ? Last edited by ahduo : June 5th, 2003 at 08:35 AM. |
|
#2
|
||||
|
||||
|
Setup.py
Py2exe needs a setup file so it knows which modules to include. if you read down there website it gives you a few examples/explanations but heres a little one..
# setup.py from distutils.core import setup import b import py2exe setup(name="myscript", scripts=["myscript.py"], data_files=[("bitmaps", ["bm/large.gif", "bm/small.gif"])] ) also see - http://starship.python.net/crew/theller/py2exe/ Hope this helps. Mark |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > about py2exe |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|