-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
39 lines (36 loc) · 1.09 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def get_version(rel_path):
with open(rel_path, "r") as fh:
for line in fh.readlines():
if line.startswith("__version__"):
return line.split('"')[1]
else:
raise RuntimeError("Unable to find version string.")
setuptools.setup(
name="autodc",
version="1.0.7",
author="@zacqoo",
author_email="[email protected]",
description="AutoDC",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/hypergiant/autodc",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache 2.0",
"Operating System :: OS Independent",
],
include_package_data=True,
install_requires=[
"augly==0.2.1",
"matplotlib==3.4.3",
"numpy==1.19.5",
"opencv-python==4.5.3.56",
"python-magic-bin==0.4.14",
"scikit-learn==0.24.2"
],
packages=setuptools.find_packages(),
python_requires=">=3.6",
)