sockets - .PY into .EXE Python 2.6 -
i'm trying convert .py script .exe file, in process have tried py2exe following command line.. python c:\users\noob\desktop\setup.py py2exe -p ftplib
-> -p ftplib module import. when use code, i'm left .exe , bunch of files, if take .exe out come error. required have "_socket.pyd" , "python26.dll" or crash (the program). how compile (not having use py2exe or having use it) without these files? lot!
you should not taking exe out of folder , executing. execute dist
directory got created, has python26.dll executable needs. if want ship it, zip dist directory , ship it. otherwise have create installer using specific installer software nsis. hope took @ python2.6 specific section, has details on how write data_files include msvcr90.dll
also, finding -p ftplib
cmd option pretty new. things within setup.py. can point out kind of option specification mentioned.
Comments
Post a Comment