2016-09-15 17:06:26 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import re
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
import sys
|
|
|
|
import warnings
|
|
|
|
|
2017-04-22 21:34:37 +02:00
|
|
|
try:
|
|
|
|
import pyaes
|
|
|
|
dynamic_requires = ["pyaes==1.6.0"]
|
2017-04-25 16:33:00 +02:00
|
|
|
except ImportError as e:
|
2018-08-28 11:01:42 +02:00
|
|
|
dynamic_requires = ['pycryptodome==3.6.6']
|
2016-09-15 17:06:26 +02:00
|
|
|
|
2018-03-18 23:03:26 +01:00
|
|
|
# For Hysen thermostatic heating controller
|
|
|
|
dynamic_requires.append('PyCRC')
|
|
|
|
|
2018-04-24 17:33:05 +02:00
|
|
|
version = 0.9
|
2016-09-15 17:06:26 +02:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='broadlink',
|
2018-04-24 17:33:05 +02:00
|
|
|
version=0.9,
|
2016-09-15 17:06:26 +02:00
|
|
|
author='Matthew Garrett',
|
|
|
|
author_email='mjg59@srcf.ucam.org',
|
|
|
|
url='http://github.com/mjg59/python-broadlink',
|
|
|
|
packages=find_packages(),
|
|
|
|
scripts=[],
|
2017-04-22 21:34:37 +02:00
|
|
|
install_requires=dynamic_requires,
|
2016-09-15 17:06:26 +02:00
|
|
|
description='Python API for controlling Broadlink IR controllers',
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
],
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
)
|