-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
22 lines (20 loc) · 911 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
from setuptools import setup, find_packages
from os.path import join, dirname
import re
with open('hikvisionapi/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(name='hikvisionapi',
version=version,
description='The client for HIKVISION cameras, DVR',
url='https://github.com/MissiaL/hikvision-client',
author='Petr Alekseev',
author_email='[email protected]',
packages=find_packages(),
long_description_content_type="text/markdown",
long_description=open(join(dirname(__file__), 'README.md')).read(),
download_url='https://github.com/MissiaL/hikvision-client/tarball/{}'.format(version),
keywords=['api', 'hikvision', 'hikvision-client'],
install_requires=['xmltodict', 'requests', 'httpx'],
python_requires='>3.5',
)