-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
23 lines (22 loc) · 836 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from distutils.core import setup
import py2exe,sys,os
origIsSystemDLL = py2exe.build_exe.isSystemDLL
def isSystemDLL(pathname):
if os.path.basename(pathname).lower() in ("msvcp71.dll", "dwmapi.dll"):
return 0
return origIsSystemDLL(pathname)
py2exe.build_exe.isSystemDLL = isSystemDLL
setup(name='impactuX',
version='0.7',
description='TuX collision game',
author='Alexander Desyatnichenko',
author_email='[email protected]',
url='https://github.com/1-0/impactuX',
#packages=['impactuX', ],
#package_dir = {'': 'lib'},
windows=[{"script":"impactuX.py"}],
options={"py2exe": {"includes":["pygame",]}},
package_data={'mypkg': ['fonts/*', 'pic/*']},
#options={"py2exe": {"includes":["pygame", "libpng", "libogg", "libjpeg"]}},
)
#setup(console=['main.py'])