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.4 KiB

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