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.

45 lines
1.4 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='0.10.3',
  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 :: 4 - Beta',
  18. 'License :: OSI Approved :: MIT License',
  19. 'Programming Language :: Python :: 2.7',
  20. 'Topic :: Software Development :: Libraries :: Python Modules',
  21. 'Topic :: Communications',
  22. 'Topic :: Home Automation',
  23. 'Topic :: Security',
  24. ],
  25. keywords='alarmdecoder alarm decoder ad2 ad2usb ad2serial ad2pi security '
  26. 'ademco dsc nutech',
  27. url='http://github.com/nutechsoftware/alarmdecoder',
  28. author='Nu Tech Software Solutions, Inc.',
  29. author_email='general@support.nutech.com',
  30. license='MIT',
  31. packages=['alarmdecoder', 'alarmdecoder.event'],
  32. install_requires=[
  33. 'pyserial==2.7',
  34. ] + extra_requirements,
  35. test_suite='nose.collector',
  36. tests_require=['nose', 'mock'],
  37. scripts=['bin/ad2-sslterm', 'bin/ad2-firmwareupload'],
  38. include_package_data=True,
  39. zip_safe=False)