잡다한 tools
gravity-free/tools 2012. 4. 3. 15:20'gravity-free > tools' 카테고리의 다른 글
crackinn (0) | 2012.07.11 |
---|
py2exe
programming/python 2012. 3. 26. 17:47python
http://www.python.org/download/releases/
py2exe
http://sourceforge.net/projects/py2exe/files/py2exe/
주의 : 설치된 py version과 py2exe version 맞출것
test.py
==================================================
print "clarus"
==================================================
setup.py
==================================================
http://www.python.org/download/releases/
py2exe
http://sourceforge.net/projects/py2exe/files/py2exe/
주의 : 설치된 py version과 py2exe version 맞출것
test.py
==================================================
print "clarus"
==================================================
setup.py
==================================================
from distutils.core import setup
import py2exe
setup(console=['test.py'])
==================================================
D:\pytest>c:\Python27\python.exe setup.py py2exe
running py2exe
creating D:\pytest\build
creating D:\pytest\build\bdist.win32
creating D:\pytest\build\bdist.win32\winexe
creating D:\pytest\build\bdist.win32\winexe\collect-2.7
creating D:\pytest\build\bdist.win32\winexe\bundle-2.7
creating D:\pytest\build\bdist.win32\winexe\temp
creating D:\pytest\dist
*** searching for required modules ***
*** parsing results ***
.
.
.
D:\pytest>
.
.
.
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
WS2_32.dll - C:\Windows\system32\WS2_32.dll
SHELL32.dll - C:\Windows\system32\SHELL32.dll
USER32.dll - C:\Windows\system32\USER32.dll
ADVAPI32.dll - C:\Windows\system32\ADVAPI32.dll
KERNEL32.dll - C:\Windows\system32\KERNEL32.dll