-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
executable file
·91 lines (85 loc) · 3.18 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
requirements = [
'wheel==0.23.0',
'argparse>=1.2.1',
'numpy>=0.9.1',
'scipy>=0.15.1',
'more_itertools>=2.2',
'joblib>=0.8.3-r1',
'gensim==0.10.3',
'statsmodels>=0.5.0',
'changepoint>=0.1.1',
'nltk>=3.0.0',
'textblob>=0.9.0',
'textblob-aptagger>=0.2.0',
'psutil>=2.1.1',
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='langchangetrack',
version='0.1.0',
description='Package for statistically significant language change.',
long_description=readme + '\n\n' + history,
author='Vivek Kulkarni',
author_email='[email protected]',
url='https://github.com/viveksck/langchangetrack',
packages=[
'langchangetrack',
'langchangetrack.utils',
'langchangetrack.corpusreaders',
'langchangetrack.tsconstruction',
'langchangetrack.tsconstruction.distributional'
],
package_dir={'langchangetrack':
'langchangetrack'},
include_package_data=True,
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='langchangetrack',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
scripts=[
'langchangetrack/tsconstruction/freq/scripts/create_freq_timeseries.py',
'langchangetrack/tsconstruction/syntactic/scripts/pos_displacements.py',
'langchangetrack/tsconstruction/distributional/scripts/train_embeddings_ngrams.py',
'langchangetrack/tsconstruction/distributional/scripts/learn_map.py',
'langchangetrack/tsconstruction/distributional/scripts/embedding_displacements.py',
'langchangetrack/tsconstruction/dump_timeseries.py',
'langchangetrack/cpdetection/detect_changepoints_word_ts.py',
'langchangetrack/cpdetection/detect_changepoints_word_ts_r.py',
'langchangetrack/scripts/detect_cp_freq.sh',
'langchangetrack/scripts/detect_cp_pos.sh',
'langchangetrack/scripts/detect_cp_distributional.sh',
'langchangetrack/scripts/ngrams_pipeline.py',
'langchangetrack/scripts/pos_pipeline.py',
'langchangetrack/scripts/freq_pipeline.py',
'langchangetrack/utils/scripts/freq_count.py',
'langchangetrack/utils/scripts/common_vocab.py',
'langchangetrack/utils/scripts/pos_tag.py',
'langchangetrack/utils/scripts/calculate_pos_dist.sh',
'langchangetrack/utils/scripts/calculate_freq_counts.sh',
'langchangetrack/utils/scripts/train_models.sh',
],
test_suite='tests',
tests_require=test_requirements
)