Skip to content

Commit

Permalink
Add manifest and update setup files (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare committed May 5, 2017
1 parent 8293d7f commit 4e11947
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 13 deletions.
7 changes: 7 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,7 @@
include CHANGELOG.md
include CONTRIBUTING.md
include LICENSE
include README.md

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
6 changes: 3 additions & 3 deletions requirements.txt
@@ -1,3 +1,3 @@
pyserial>=3.1.1
IntelHex>=2.1
crcmod>=1.7
pyserial==3.1.1
IntelHex==2.1
crcmod==1.7
2 changes: 2 additions & 0 deletions requirements_pypi.txt
@@ -0,0 +1,2 @@
twine>=1.8.1
wheel>=0.29.0
4 changes: 4 additions & 0 deletions setup.cfg
@@ -1,2 +1,6 @@
[flake8]
ignore = D203

[metadata]
description-file = README.md
license_file = LICENSE
37 changes: 27 additions & 10 deletions setup.py
@@ -1,12 +1,29 @@
"""Setup file for mysensors package."""
from setuptools import setup
from setuptools import setup, find_packages

setup(name='pymysensors',
version='0.10.0.dev0',
description='Python API for talking to a MySensors gateway',
url='https://github.com/theolind/pymysensors',
author='Theodor Lindquist',
license='MIT',
install_requires=['pyserial>=3.1.1', 'crcmod>=1.7', 'IntelHex>=2.1'],
packages=['mysensors'],
zip_safe=True)
with open('README.md') as readme_file:
README = readme_file.read()

setup(
name='pymysensors',
version='0.10.0.dev0',
description='Python API for talking to a MySensors gateway',
long_description=README,
url='https://github.com/theolind/pymysensors',
author='Theodor Lindquist',
license='MIT License',
install_requires=['pyserial>=3.1.1', 'crcmod>=1.7', 'IntelHex>=2.1'],
packages=find_packages(exclude=['tests', 'tests.*']),
keywords=['sensor', 'actuator', 'IoT', 'DYI'],
zip_safe=True,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Home Automation',
])

0 comments on commit 4e11947

Please sign in to comment.