From 1482fe4ec38c09e5033cab33abc3ca30112825ba Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Wed, 21 Dec 2016 14:39:50 +0000 Subject: [PATCH 1/2] Add dist, *pyc and .egg-info to .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ded9479..f67291c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.o *.so +*.pyc pig2vcd pigpiod pigs @@ -8,3 +9,5 @@ x_pigpiod_if x_pigpiod_if2 __pycache__ build +dist +*.egg-info From 9bef8535c2fa1ba3f4562c64a55eae926a0854bb Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Wed, 21 Dec 2016 14:45:27 +0000 Subject: [PATCH 2/2] Expand setup.py setup data --- setup.py | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/setup.py b/setup.py index 973c3bc..2921df8 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,26 @@ #!/usr/bin/env python -from distutils.core import setup +from setuptools import setup, find_packages -setup(name='pigpio', - version='1.34', - author='joan', - author_email='joan@abyz.co.uk', - maintainer='joan', - maintainer_email='joan@abyz.co.uk', - url='http://abyz.co.uk/rpi/pigpio/python.html/', - description='Raspberry gpio module', - long_description='Raspberry Python module to access the pigpio daemon', - download_url='http://abyz.co.uk/rpi/pigpio/pigpio.zip', - license='unlicense.org', - py_modules=['pigpio'] - ) +setup( + name='pigpio', + version='1.34', + author='joan', + author_email='joan@abyz.co.uk', + maintainer='joan', + maintainer_email='joan@abyz.co.uk', + url='http://abyz.co.uk/rpi/pigpio/python.html', + description='Raspberry Pi GPIO module', + long_description='Raspberry Python module to access the pigpio daemon', + download_url='http://abyz.co.uk/rpi/pigpio/pigpio.zip', + license='unlicense.org', + keywords=[ + 'raspberrypi', + 'gpio', + ], + packages=find_packages(), + classifiers=[ + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 3", + ] +)