-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
33 lines (29 loc) · 1004 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
import setuptools
import os
here = os.path.dirname(os.path.realpath(__file__))
with open("requirements.txt") as f:
requirements = [line.strip() for line in f]
info = {}
with open(os.path.join(here, "hik_camera", "__info__.py")) as f:
exec(f.read(), info)
setuptools.setup(
name=info["__title__"],
version=info["__version__"],
author=info["__author__"],
author_email=info["__author_email__"],
description=info["__description__"],
long_description=info["__description__"],
long_description_content_type="text/markdown",
url=info["__url__"],
packages=setuptools.find_packages(),
python_requires=">=3.6",
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
],
include_package_data=True,
)