forked from jsfenfen/990-xml-reader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (50 loc) · 1.55 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
from distutils.core import setup
import os
NAME = "irsx"
HUMAN_NAME = "irsx"
HERE = os.path.abspath(os.path.dirname(__file__))
version_ns = {}
with open(os.path.join(HERE, "irs_reader", "_version.py")) as f:
exec(f.read(), {}, version_ns)
setup(
name=HUMAN_NAME,
description="Turn the IRS' versioned XML 990's into python objects \
with original line number and description.",
version=version_ns["__version__"],
author="Jacob Fenton",
author_email="[email protected]",
url="https://github.com/jsfenfen/990-xml-reader",
license="MIT",
setup_requires=[
"setuptools",
],
install_requires=["requests", "xmltodict", "django-environ"],
extras_require={
"tests": [
"pytest",
]
},
packages=["irsx"],
package_dir={"irsx": "irs_reader"},
package_data={"irsx": ["metadata/*.csv"]},
keywords=["990", "nonprofit", "tax"],
entry_points={
"console_scripts": [
"irsx=irsx.irsx_cli:main",
"irsx_index=irsx.irsx_index_cli:main",
"irsx_retrieve=irsx.irsx_retrieve_cli:main",
]
},
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
)