forked from PSLmodels/Tax-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (40 loc) · 1.49 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
import versioneer
versioneer.VCS = 'git'
versioneer.versionfile_source = 'taxcalc/_version.py'
versioneer.versionfile_build = 'taxcalc/_version.py'
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'taxcalc-' # dirname like 'taxcalc-1.2.0'
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as f:
longdesc = f.read()
version = versioneer.get_version()
cmdclass = versioneer.get_cmdclass()
config = {
'description': 'Tax Calculator',
'url': 'https://github.com/OpenSourcePolicyCenter/Tax-Calculator',
'download_url': 'https://github.com/OpenSourcePolicyCenter/Tax-Calculator',
'description': 'taxcalc',
'long_description': longdesc,
'version': version,
'cmdclass': cmdclass,
'license': 'MIT',
'packages': ['taxcalc', 'taxcalc.tbi', 'taxcalc.cli'],
'include_package_data': True,
'name': 'taxcalc',
'install_requires': ['numpy', 'pandas', 'bokeh', 'numba', 'toolz'],
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules'],
'tests_require': ['pytest']
}
setup(**config)