-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.48 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
46
from setuptools import setup
from Cython.Build import cythonize
import numpy as np
def run():
setup(name='tobacco',
version = '0.16',
author="Stephan Risi",
author_email="[email protected]",
packages=['tobacco',
#'tobacco.aws',
#'tobacco.correlations',
'tobacco.data',
'tobacco.frequencies',
'tobacco.frequencies_preprocessing',
'tobacco.full_db_preprocessing',
#'tobacco.litigation',
#'tobacco.networks',
#'tobacco.results_storage',
#'tobacco.stats',
'tobacco.text_passages',
'tobacco.utilities'
],
include_package_data=True,
package_data= {'': ['data.*', 'utilities.*'],},
ext_modules=cythonize([#'tobacco/correlations/*.pyx',
'tobacco/full_db_preprocessing/*.pyx',
'tobacco/frequencies_preprocessing/*.pyx',
#'tobacco/stats/*.pyx',
'tobacco/text_passages/*.pyx',
'tobacco/utilities/*.pyx'
]),
include_dirs=[np.get_include(), '.'],
zip_safe=False,
)
'''
Requirements
pip install pyenchant marisa_trie mysqlclient boto fabric
'''
if __name__ =="__main__":
run()