Skip to content

Commit

Permalink
Add setup, update name
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Berg committed Mar 10, 2015
1 parent c66cc1e commit 6ed711e
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ It is intended to mimick [RPIO](http://pythonhosted.org/RPIO/) as much as possib
while also supporting additional (and better named) functionality to the same methods.

## Supported Features

**sysfs** is still under development, and so only supports minimal features

- get pin values with `read(pin)` or `input(pin)`
Expand Down
2 changes: 2 additions & 0 deletions gpio.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
__version__ = '0.0.3'

import functools
import threading
import os
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
38 changes: 38 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
try:
from setuptools import setup
except ImportError:
from distutils.core import setup

from gpio import __version__


with open("README.md") as f:
ldesc = f.read()

config = {
'name': 'gpio',
'author': 'Garrett Berg',
'author_email': 'garrett@cloudformdesign.com',
'version': __version__,
'py_modules': ['gpio'],
'license': 'MIT',
'install_requires': [
],
'extras_require': {
},
'description': "gpio access via the standard linux sysfs interface",
'long_description': ldesc,
'url': "https://github.com/cloudformdesign/cloudtb",
'classifiers': [
# 'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Embedded Systems',
'Topic :: Software Development :: Libraries :: Python Modules',
]
}

setup(**config)

0 comments on commit 6ed711e

Please sign in to comment.