-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
38 lines (33 loc) · 1.14 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
import sys
from codecs import open
from os import path
from setuptools import find_packages, setup
import versioneer
# Exit unless we're in pip3/Python 3
if not sys.version_info[0] == 3:
print(
"\noctohatrack requires a Python 3 environment.\n\nTry `pip3 install` instead"
)
sys.exit(1)
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "DESCRIPTION.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="octohatrack",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Show _all_ the contributors to a GitHub repository",
long_description=long_description,
url="https://github.com/labhr/octohatrack",
author="Katie McLaughlin",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
keywords="octohatrack github contributions",
install_requires=["requests", "gitpython", "requests-cache",],
entry_points={"console_scripts": ["octohatrack = octohatrack.__main__:main"]},
packages=find_packages(),
)