setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import os
  2. from setuptools import setup, find_packages
  3. here = os.path.abspath(os.path.dirname(__file__))
  4. version_path = os.path.join(here, 'onvif/version.txt')
  5. version = open(version_path).read().strip()
  6. requires = [ 'suds >= 0.4', 'suds-passworddigest' ]
  7. CLASSIFIERS = [
  8. 'Development Status :: 3 - Alpha',
  9. 'Environment :: Console',
  10. 'Intended Audience :: Customer Service',
  11. 'Intended Audience :: Developers',
  12. 'Intended Audience :: Education',
  13. 'Intended Audience :: Science/Research',
  14. 'Intended Audience :: Telecommunications Industry',
  15. 'Natural Language :: English',
  16. 'Operating System :: POSIX',
  17. 'Topic :: Software Development :: Libraries :: Python Modules',
  18. 'Topic :: Multimedia :: Sound/Audio',
  19. 'Topic :: Utilities',
  20. "Programming Language :: Python",
  21. "Programming Language :: Python :: 2",
  22. "Programming Language :: Python :: 2.6",
  23. "Programming Language :: Python :: 2.7",
  24. ]
  25. wsdl_files = [ 'wsdl/' + item for item in os.listdir('wsdl') ]
  26. setup(
  27. name='onvif',
  28. version=version,
  29. description='Python Client for ONVIF Camera',
  30. long_description=open('README.rst', 'r').read(),
  31. author='Cherish Chen',
  32. author_email='sinchb128@gmail.com',
  33. maintainer='sinchb',
  34. maintainer_email='sinchb128@gmail.com',
  35. license='MIT',
  36. keywords=['ONVIF', 'Camera', 'IPC'],
  37. url='http://github.com/quatanium/python-onvif',
  38. zip_safe=False,
  39. packages=find_packages(exclude=['docs', 'examples', 'tests']),
  40. install_requires=requires,
  41. include_package_data=True,
  42. data_files=[('wsdl', wsdl_files)],
  43. entry_points={
  44. 'console_scripts': ['onvif-cli = onvif.cli:main']
  45. }
  46. )