Il 20/10/2010 17:44, Matteo Boscolo ha scritto:
Il 20/10/2010 17:05, Martin Zibricky ha scritto:
Matteo Boscolo píše v Pá 15. 10. 2010 v 17:08 +0200:
Hi all,
I'm trying to make a python com server and build it with pyInstaller
to
get a com dll .
What pyinstaller version do you use?
1.3?
1.4?
svn trunk?
What python version?
I'm using python 2.6
pyInstaller 1.3 for python 2.6 from the following link
http://www.pyinstaller.org/wiki/Python26Win
Regards,
Matteo
I download the last version from the repository but still have some
troubles, I'm not able to register the dll
Is it right to register the dll with regsvr32 ?
To make it work I also need to make a little fix on makespec.py
the main function is called with the configfile==None .. this give an
error ..
so I fix it in this way:
def main(scripts, configfile=None, name=None, tk=0, freeze=0, console=1,
debug=0,
strip=0, upx=0, comserver=0, ascii=0, workdir=None,
pathex=[], version_file=None, icon_file=None, manifest=None,
resources=[], crypt=None):
try:
if configfile==None:
configfile=os.path.join(os.getcwd(),'config.dat')
config = eval(open(configfile, 'r').read())
....
..
Please let me know if the fix is ok and how can I make the come server
works..
Regards,
Matteo
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.