forked from quatanium/python-onvif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.92 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import os
from setuptools import setup, find_packages
import sys
here = os.path.abspath(os.path.dirname(__file__))
version_path = os.path.join(here, 'onvif/version.txt')
version = open(version_path).read().strip()
requires = [
'zeep[async]>=3.0.0',
'aiohttp>=1'
]
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Customer Service',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'Natural Language :: English',
'Operating System :: POSIX',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Utilities',
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
]
wsdl_files = [os.path.join('wsdl', item) for item in os.listdir('wsdl')]
wsdl_dst_dir = 'Lib/site-packages/wsdl' if sys.platform == 'win32' else \
'lib/python%d.%d/site-packages/wsdl' % (sys.version_info.major,
sys.version_info.minor)
setup(
name='onvif-zeep-async',
version=version,
description='Async Python Client for ONVIF Camera',
long_description=open('README.rst', 'r').read(),
author='Cherish Chen',
author_email='[email protected]',
maintainer='sinchb',
maintainer_email='[email protected]',
license='MIT',
keywords=['ONVIF', 'Camera', 'IPC'],
url='http://github.com/hunterjm/python-onvif-zeep-async',
zip_safe=False,
packages=find_packages(exclude=['docs', 'examples', 'tests']),
install_requires=requires,
include_package_data=True,
data_files=[(wsdl_dst_dir, wsdl_files)],
entry_points={
'console_scripts': ['onvif-cli = onvif.cli:main']
}
)