A clone of: https://github.com/nutechsoftware/alarmdecoder This is requires as they dropped support for older firmware releases w/o building in backward compatibility code, and they had previously hardcoded pyserial to a python2 only version.

setup.py 1.5 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. """Setup script"""
  2. from setuptools import setup
  3. def readme():
  4. """Returns the contents of README.rst"""
  5. with open('README.rst') as readme_file:
  6. return readme_file.read()
  7. setup(name='alarmdecoder',
  8. version='0.7',
  9. description='Python interface for the AlarmDecoder (AD2) family '
  10. 'of alarm devices which includes the AD2USB, AD2SERIAL and AD2PI.',
  11. long_description=readme(),
  12. classifiers=[
  13. 'Development Status :: 4 - Beta',
  14. 'License :: OSI Approved :: MIT License',
  15. 'Programming Language :: Python :: 2.7',
  16. 'Topic :: Software Development :: Libraries :: Python Modules',
  17. 'Topic :: Communications',
  18. 'Topic :: Home Automation',
  19. 'Topic :: Security',
  20. ],
  21. keywords='alarmdecoder alarm decoder ad2 ad2usb ad2serial ad2pi security '
  22. 'ademco dsc nutech',
  23. url='http://github.com/nutechsoftware/alarmdecoder',
  24. author='Nu Tech Software Solutions, Inc.',
  25. author_email='general@support.nutech.com',
  26. license='MIT',
  27. packages=['alarmdecoder', 'alarmdecoder.event'],
  28. install_requires=[
  29. 'pyopenssl',
  30. 'pyusb>=1.0.0b1',
  31. 'pyserial>=2.7',
  32. 'pyftdi>=0.9.0',
  33. ],
  34. dependency_links=[
  35. 'https://github.com/eblot/pyftdi/archive/v0.9.0.tar.gz#egg=pyftdi-0.9.0'
  36. ],
  37. test_suite='nose.collector',
  38. tests_require=['nose', 'mock'],
  39. scripts=['bin/ad2-sslterm', 'bin/ad2-firmwareupload'],
  40. include_package_data=True,
  41. zip_safe=False)