-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
45 lines (38 loc) · 1.2 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import os
import sys
includefiles = []
for d in ('sprites', ):
for f in os.listdir(d):
includefile = os.path.join(d, f)
includefiles.append(includefile)
base = None
name = "AndengineVertexHelper"
version="0.4.1"
author='Alexey Zankevich'
description="Vertex helper for Andengine framework"
author_email='[email protected]'
if sys.platform == "win32":
base = "Win32GUI"
from cx_Freeze import setup, Executable
setup(name=name,
version=version,
description=description,
author=author,
author_email=author_email,
packages=['vertex_helper'],
options = {'build_exe': {'excludes':[],
'packages':[],
'include_files':includefiles}},
executables = [Executable("avhelper.pyw",
base=base,
shortcutDir='ProgramMenuFolder',
shortcutName='avhelper')])
else:
from distutils.core import setup
setup(name=name,
version=version,
description=description,
author=author,
author_email=author_email,
packages=['vertex_helper'],
scripts=['avhelper.pyw'])