/
setup.py
72 lines (62 loc) · 1.69 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
71
72
import os.path as osp
from setuptools import setup
cdir = osp.abspath(osp.dirname(__file__))
with open(osp.join(cdir, 'readme.rst')) as fp:
README = fp.read()
with open(osp.join(cdir, 'changelog.rst')) as fp:
CHANGELOG = fp.read()
version_fpath = osp.join(cdir, 'blazeutils', 'version.py')
version_globals = {}
with open(version_fpath) as fo:
exec(fo.read(), version_globals)
test_requires = [
'codecov',
'docutils',
'openpyxl',
'pytest',
'pytest-cov',
'sqlalchemy',
'tox',
'wheel',
'xlwt',
'xlrd<2.0.0',
'xlsxwriter',
# pytest dep on windows
'colorama'
]
dev_requires = [
*test_requires,
'flake8',
'restview',
'wheel',
]
setup(
name="BlazeUtils",
version=version_globals['VERSION'],
description="A collection of python utility functions and classes.",
long_description='\n\n'.join((README, CHANGELOG)),
author="Randy Syring",
author_email="randy.syring@level12.io",
url='https://github.com/blazelibs/blazeutils/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
python_requires='>=3',
license='BSD',
packages=['blazeutils'],
zip_safe=False,
include_package_data=True,
install_requires=['wrapt'],
extras_require={
'dev': dev_requires,
'test': test_requires,
}
)