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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.6 KiB

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