-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
51 lines (44 loc) · 1.81 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
import setuptools
with open('./README.md', 'r') as readme_file:
long_description = str(readme_file.read())
with open('./vistos/VERSION', 'r') as version_file:
version = str(version_file.read())
with open('./requirements.txt', 'r') as require_file:
requirements = list(require_file.readlines())
NAME = 'vistos'
DESCRIPTION = 'A package for downloading data about U.S. politicians'
LISCENCE = 'GPL-3.0'
AUTHOR = 'z3c0'
AUTHOR_EMAIL = '[email protected]'
PYTHON_VERSION = '>=3.8'
GITHUB_URL = 'https://github.com/z3c0/vistos'
KEYWORDS = \
['politics', 'united', 'states', 'congress', 'legislative',
'senate', 'house', 'representatives', 'senator', 'representative',
'delegate', 'resident', 'commissioner', 'speaker', 'government',
'publishing', 'office']
CLASSIFIERS = \
['Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.8',
'Topic :: Sociology :: History',
'Topic :: Education',
'Topic :: Other/Nonlisted Topic']
setup_kwargs = {'name': NAME,
'author': AUTHOR,
'author_email': AUTHOR_EMAIL,
'packages': setuptools.find_packages(),
'include_package_data': True,
'version': version,
'license': LISCENCE,
'description': DESCRIPTION,
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'url': GITHUB_URL,
'keywords': KEYWORDS,
'classifiers': CLASSIFIERS,
'python_requires': PYTHON_VERSION,
'install_requires': requirements}
setuptools.setup(**setup_kwargs)