-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (30 loc) · 896 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Dependencies are automatically detected, but it might need
# fine tuning.
#build_options = {'packages': ['src'], 'excludes': []}
#if True:
if False:
from distutils.core import setup
import py2exe
import src.umlgen.py
import src.dbmsg.py
import src.constants.py
setup(
console=['src/main.py'],
data_files="cppuml.ini",
)
else:
from cx_Freeze import setup, Executable
build_options = {
"include_files" : ["cppuml.ini"],
# "packages" : [ "src/umlgen.py","src/constants.py"],
# "includes": ["src/umlgen.py","./src/constants.py","./src/dbmsg.py"]
}
base = 'Console'
executables = [
Executable('main.py', base=base, target_name = 'cppuml',)
]
setup(name='cppuml-clang',
version = '1.0',
description = 'Industrial quality c++ UML generation using clang',
options = {'build_exe': build_options},
executables = executables)