-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
66 lines (57 loc) · 1.62 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
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
meta_info = {}
with open(os.path.join(here, 'barentsz', '_meta.py'),
mode='r', encoding='utf-8') as f:
exec(f.read(), meta_info)
with open('README.md', mode='r', encoding='utf-8') as f:
long_description = f.read()
requirements = [
'typish>=1.7.0',
]
test_requirements = [
'scons',
'pycodestyle',
'pylint',
'mypy',
'pytest',
'pytest-cov',
'coverage',
'radon',
'xenon',
'autoflake',
'isort',
]
extras = {
'test': test_requirements,
}
setup(
name=meta_info['__title__'],
version=meta_info['__version__'],
author=meta_info['__author__'],
author_email=meta_info['__author_email__'],
description=meta_info['__description__'],
url=meta_info['__url__'],
long_description=long_description,
long_description_content_type='text/markdown',
license=meta_info['__license__'],
packages=find_packages(exclude=('tests', 'test_resources')),
install_requires=requirements,
tests_require=test_requirements,
extras_require=extras,
python_requires='>=3.6',
test_suite='tests',
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
)