-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·125 lines (111 loc) · 3.48 KB
/
setup.py
File metadata and controls
executable file
·125 lines (111 loc) · 3.48 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
import os.path
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
test_args = []
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
dirname = os.path.dirname(__file__)
long_description = (
open(os.path.join(dirname, 'README.rst')).read()
)
setup(
name='fowler.corpora',
version='0.3',
description='',
long_description=long_description,
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Topic :: Utilities',
'Topic :: Text Processing :: Linguistic',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
],
keywords='',
author='Dmitrijs Milajevs',
author_email='dimazest@gmail.com',
url='https://github.com/dimazest/fowler.corpora/',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['fowler'],
include_package_data=True,
zip_safe=False,
install_requires=[
'blosc',
'chrono',
'colored',
'docutils',
'execnet',
'fowler.switchboard',
'gensim',
'google-ngram-downloader',
'ipython',
'jinja2',
'joblib',
'matplotlib',
'more-itertools',
'notebook',
'numexpr',
'numpy',
'openpyxl',
'opster',
'pandas',
'progress',
'py',
'pygments',
'scikit-learn',
'scipy',
'seaborn',
'setuptools',
'six',
'tables',
'tornado',
'XlsxWriter',
'xlwt-future',
'zope.cachedescriptors',
'nltk>=3.0.0', # and it's dependencies
'twython',
],
extras_require={
'raven': ['raven'],
},
entry_points={
'console_scripts': [
'corpora = fowler.corpora.main:dispatch',
],
'fowler.corpus_readers': [
'brown = fowler.corpora.bnc.readers:Brown',
'bnc = fowler.corpora.bnc.readers:BNC',
'bnc-ccg = fowler.corpora.bnc.readers:BNC_CCG',
'dep-parsed-ukwac = fowler.corpora.bnc.readers:UKWAC',
'simlex999 = fowler.corpora.bnc.readers:SimLex999',
'men = fowler.corpora.bnc.readers:MEN',
'gs11 = fowler.corpora.bnc.readers:GS11',
'gs12 = fowler.corpora.bnc.readers:GS12',
'ks13 = fowler.corpora.bnc.readers:KS13',
'phraserel = fowler.corpora.bnc.readers:PhraseRel',
'msparaphrase = fowler.corpora.bnc.readers:MSRParaphraseCorpus',
],
},
tests_require=['pytest>=2.4.2', 'pytest-cov'],
cmdclass={'test': PyTest},
)