-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
61 lines (57 loc) · 1.8 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
# 1. Upload to PyPI:
# (Note: Building 'bdist_wheel' requires package 'wheel')
# python3 setup.py sdist bdist_wheel
# twine upload dist/*
#
# 2. Check if everything looks all right: https://pypi.python.org/pypi/textcomplexity
#
# 3. Go to
# https://github.com/tsproisl/textcomplexity/releases/new
# and create a new release
from os import path
from setuptools import setup
version = {}
with open("textcomplexity/version.py") as fh:
exec(fh.read(), version)
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst')) as fh:
long_description = fh.read()
setup(
name='textcomplexity',
version=version["__version__"],
author='Thomas Proisl',
author_email='thomas.proisl@fau.de',
packages=[
'textcomplexity',
'textcomplexity.utils',
],
scripts=[
'bin/txtcomplexity',
],
package_data={
"textcomplexity": ["de.json",
"en.json"]
},
url="https://github.com/tsproisl/textcomplexity",
download_url='https://github.com/tsproisl/textcomplexity/archive/v%s.tar.gz' % version["__version__"],
license='GNU General Public License v3 or later (GPLv3+)',
description="Linguistic and stylistic complexity measures for text",
long_description=long_description,
install_requires=[
"networkx",
"nltk",
"nltk_tgrep",
"numpy",
"scipy",
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Linguistic',
],
)