Help with py2exe...com dll
news1.sympatico.ca
none at nowhere.com
Tue Aug 19 17:07:07 EDT 2003
I am developping a com (dll based) in python. I obviously use py2exe to
create the *.dll file. My program is based on 3 modules (the first one is
calling the two others). If all 3 modules are located inside the same
directory everything goes compiles and the com is created. However if I put
one of the module in a subfolder and try using the -i argument of py2exe
nothing compiles and python tells me that it cannot find the
subfolderX.packageX.py module. I have tried all the above:
python.exe com_script.py py2exe -i subfoldername.modulename.py --com-dll
python.exe com_script.py py2exe -i subfoldername.modulename --com-dll
python.exe com_script.py py2exe -i subfoldername\modulename.py --com-dll
python.exe com_script.py py2exe -p subfoldername --com-dll
here is my startup script also:
import sys
sys.path.append("d:\\project\\projectX")
sys.path.append("d:\\projets2\\projectX\\subfolderName")
from distutils.core import setup
import py2exe
setup(name="The Big TEst",
scripts=["MainModule", "Module2", "Module3"],
version="1.0")
More information about the Python-list
mailing list