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.

40 lines
1.3 KiB

  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.10.0',
  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. 'pyserial>=2.7',
  30. ],
  31. test_suite='nose.collector',
  32. tests_require=['nose', 'mock'],
  33. scripts=['bin/ad2-sslterm', 'bin/ad2-firmwareupload'],
  34. include_package_data=True,
  35. zip_safe=False)