forked from mediawiki-utilities/python-mwtext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.42 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
import os
from distutils.core import setup
from setuptools import find_packages
about_path = os.path.join(os.path.dirname(__file__), "mwtext/about.py")
exec(compile(open(about_path).read(), about_path, "exec"))
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name=__name__, # noqa
version=__version__, # noqa
author=__author__, # noqa
author_email=__author_email__, # noqa
description=__description__, # noqa
url=__url__, # noqa
license=__license__, # noqa
packages=find_packages(),
entry_points={
'console_scripts': [
'mwtext=mwtext.mwtext:main'
],
},
long_description=open('README.md').read(),
install_requires=requirements("requirements.txt"),
test_suite='nose.collector',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
"Topic :: Text Processing :: General",
"Topic :: Utilities",
"Topic :: Scientific/Engineering"
],
)