Add setup.py and distribution basics

This commit is contained in:
Ben Nuttall
2015-09-15 17:53:50 +01:00
parent abdc215175
commit a8b93cf97f
11 changed files with 102 additions and 173 deletions

35
setup.py Normal file
View File

@@ -0,0 +1,35 @@
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="gpiozero",
version="0.1.0",
author="Ben Nuttall",
description="A simple interface to everyday GPIO components used with Raspberry Pi",
license="BSD",
keywords=[
"raspberrypi",
"gpio",
],
url="https://github.com/RPi-Distro/gpio-zero",
packages=find_packages(),
install_requires=[
"RPi.GPIO",
"w1thermsensor",
],
long_description=read('README.rst'),
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Education",
"Topic :: Education",
"Topic :: System :: Hardware",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
)