This repository has been archived by the owner on May 31, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (42 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
import os.path
from pip.download import PipSession
from pip.req import parse_requirements
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_reqs = parse_requirements('requirements.txt', session=PipSession())
reqs = [str(ir.req) for ir in install_reqs]
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='elex-micro',
version='0.0.1',
author='Jeremy Bowers',
author_email='[email protected]',
url='https://github.com/newsdev/elex-micro',
description='A diet client for parsing the Associated Press\'s elections API JSON',
long_description=read('README.md'),
packages=('elex_micro', 'tests'),
entry_points={
'console_scripts': (
'results = elex_micro.results:main',
'reportingunits = elex_micro.reportingunits:main',
'races = elex_micro.races:main',
'candidates = elex_micro.candidates:main',
),
},
license="Apache License 2.0",
keywords='election race candidate democracy news associated press',
install_requires=reqs,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
)
)