-
Notifications
You must be signed in to change notification settings - Fork 321
/
setup.py
53 lines (46 loc) · 1.69 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
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
version_path = os.path.join(here, 'onvif/version.txt')
version = open(version_path).read().strip()
requires = [ 'suds >= 0.4', 'suds-passworddigest' ]
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 :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
]
wsdl_files = [ 'wsdl/' + item for item in os.listdir('wsdl') ]
setup(
name='onvif',
version=version,
description='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/quatanium/python-onvif',
zip_safe=False,
packages=find_packages(exclude=['docs', 'examples', 'tests']),
install_requires=requires,
include_package_data=True,
data_files=[('wsdl', wsdl_files)],
entry_points={
'console_scripts': ['onvif-cli = onvif.cli:main']
}
)