-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
38 lines (33 loc) · 946 Bytes
/
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 os
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
with open("README.md", "r") as fh:
long_description = fh.read()
about = {}
path = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
"governor/__about__.py"
)
with open(path, "r", encoding='utf-8') as f:
exec(f.read(), about)
setuptools.setup(
name=about["name"],
version=about["version"],
author=about["author"],
author_email=about["author_email"],
description=about["description"],
url=about["url"],
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
classifiers=[
"License :: OSI Approved :: Apache License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
],
entry_points={
'console_scripts': [
'governor=governor.__main__:main'
]
}
)