- Refactored REST client to use requests library for Python 3 compatibility. - Added docstrings to all public methods & classes. - Fleshed out CRUD APIs for data, feed, group. - Wrote full suite of integration tests to verify changes. - Updated setup.py to bump version to 0.9 & depend on requests and paho-mqtt modules. - Updated and tested code to work with both Python 2 and 3. - Broke out errors into separate file, and added explicit data model classes. - General cleanup and preparation for public release.
19 lines
488 B
Python
19 lines
488 B
Python
from ez_setup import use_setuptools
|
|
use_setuptools()
|
|
from setuptools import setup
|
|
|
|
setup(
|
|
name='adafruit-io',
|
|
version='0.9.0',
|
|
author='Justin Cooper',
|
|
author_email='justin@adafruit.com',
|
|
packages=['Adafruit_IO'],
|
|
url='http://pypi.python.org/pypi/adafruit-io/',
|
|
license='LICENSE.txt',
|
|
description='IO Client library for io.adafruit.com',
|
|
long_description=open('README.md').read(),
|
|
install_requires=[
|
|
"requests",
|
|
"paho-mqtt"
|
|
],
|
|
)
|