-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
70 lines (59 loc) · 2.58 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
import re
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
install_requires = ['Flask', 'flask-cors', 'guessit', 'flask-restful>=0.3.6']
setup_requires = ['pytest-runner']
dev_require = ['zest.releaser[recommended]', 'pylint', 'tox', 'pylint']
tests_require = ['pytest', 'pytest-flask', 'pytest-mock']
entry_points = {
'console_scripts': [
'guessit-rest = guessitrest.__main__:main'
],
}
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'guessitrest', '__version__.py'), 'r') as f:
exec(f.read(), about)
args = dict(name='guessit-rest',
version=about['__version__'],
description='GuessIt - REST WebService',
long_description=README,
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Multimedia',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='python library release parser name filename movies series episodes animes',
author='Rémi Alvergnat',
author_email='[email protected]',
url='http://github.com/guessit-io/guessit-rest',
license='LGPLv3',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
entry_points=entry_points,
test_suite='guessitrest.test',
zip_safe=True,
extras_require={
'test': tests_require,
'dev': dev_require
})
setup(**args)