mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Add setup.py and distribution basics
This commit is contained in:
35
setup.py
Normal file
35
setup.py
Normal 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",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user