-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup_exe.py
69 lines (66 loc) · 1.78 KB
/
setup_exe.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#from distutils.core import setup
from cx_Freeze import setup
from cx_Freeze import Executable
OPTIONS = {
'bdist_msi': {
"add_to_path": True,
"target_name": "surgeo",
"all_users": True,
},
}
# cx_Freeze setup.py
setup(
executables=[
Executable(
"./surgeo/app/surgeo_gui.py",
base='Win32GUI',
shortcut_name='surgeo_gui',
shortcut_dir='ProgramMenuFolder',
),
Executable(
"./surgeo/app/surgeo_cli.py",
shortcut_name='surgeo_cli',
shortcut_dir='ProgramMenuFolder',
),
],
options=OPTIONS,
# Normal setup.py
name='surgeo',
version='1.1.2',
description='Bayesian Improved Surname Geocoder model',
long_description="""
Surgeo is an impelmentation of the Bayesian Improved Surname
Geocode (BISG) model created by Mark N. Elliot et al. and
incluenced by the Consumer Financial Protection Bureau's (CFPB)
implementation of the same. It also includes an implementation
of the Bayesian Improved First Name Surname Geocode (BIFSG) model
created by Ioan Voicu.
""",
author='Theo Naunheim',
author_email='theonaunheim@gmail.com',
packages=[
'surgeo',
'surgeo.app',
'surgeo.models',
'surgeo.utility',
],
license='MIT',
url='https://github.com/theonaunheim/surgeo',
keywords=[
'bisg',
'disparate',
'race'
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
],
requires=[
'pandas',
'numpy',
'xlrd',
'openpyxl',
],
package_dir={'surgeo': './surgeo'},
package_data={'surgeo': ['./data/*', './static/*']},
)