Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from pkshiu/pip_ready
Browse files Browse the repository at this point in the history
Added setup.py file so that package can be installed using pip
  • Loading branch information
benleb committed Oct 25, 2014
2 parents e41c985 + 75ab970 commit 42e7e8b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.pyc
*/*.pyc
*~
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,20 @@ See the other files in the `examples` directory for more examples how to us
PyGlow.


Install using pip
-----------------

If you just want to install the PyGlow library for use in your own project,
you can also install it using pip

```
$ pip install git+https://github.com/benleb/PyGlow.git
```

The PyGlow.py files will be downloaded and placed in the site-packages directory
ready for use.


Usage
=====

Expand Down
25 changes: 25 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from distutils.core import setup

classifiers = ['Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
'Topic :: System :: Hardware']

setup(name= 'PyGlow',
version= '0.5',
author= 'Ben',
author_email= '[email protected]',
description= 'A module to control the PiGlow Raspberry Pi Addon Board',
long_description= 'A module to control the PiGlow Raspberry Pi Addon Board',
license= 'MIT',
keywords= 'Raspberry Pi PiGlow',
url= 'https://github.com/benleb/PyGlow',
classifiers = classifiers,
py_modules= ['PyGlow'],
install_requires= ['rpi.gpio >= 0.5.4']
)

0 comments on commit 42e7e8b

Please sign in to comment.