-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcx_setup.py
More file actions
29 lines (26 loc) · 831 Bytes
/
cx_setup.py
File metadata and controls
29 lines (26 loc) · 831 Bytes
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
import sys
import re
from cx_Freeze import setup, Executable
version = re.search(
'^__version__\s*=\s*\'(.*)\'',
open('wiimake/_version.py').read(),
re.M
).group(1)
with open("README.rst", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name='wiimake',
version=version,
packages=['wiimake'],
description='Command line tool for building Gamecube/Wii mods',
long_description=long_descr,
author='Tom Sherman',
author_email='tomsherman159@gmail.com',
options={'build_exe': {
'packages': ['os', 'sys', 'argparse','pathlib', 'hashlib', 'bisect',
'struct', 'copy', 'subprocess'],
'include_files': [],
'include_msvcr': False,
}},
executables=[Executable('wiimake/wiimake.py', base="Console")]
)