raspberry-gpio-python Code
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
| File | Date | Author | Commit |
|---|---|---|---|
| RPi | 2012-09-23 |
|
[0670e9] - Added VERSION |
| debian | 2012-09-23 |
|
[0670e9] - Added VERSION |
| source | 2012-09-23 |
|
[0670e9] - Added VERSION |
| test | 2012-09-23 |
|
[0670e9] - Added VERSION |
| .hgignore | 2012-02-06 |
|
[752c9c] Initial version |
| .hgtags | 2012-09-21 |
|
[dc5bc9] Added tag 0.4.0a for changeset 5d477b9454b7 |
| CHANGELOG.txt | 2012-09-23 |
|
[0670e9] - Added VERSION |
| INSTALL.txt | 2012-09-21 |
|
[5d477b] - Warn, not error when channel already in use |
| LICENCE.txt | 2012-02-06 |
|
[752c9c] Initial version |
| MANIFEST.in | 2012-07-10 |
|
[5108d3] Converted from Python to C |
| README.Debian | 2012-09-23 |
|
[0670e9] - Added VERSION |
| README.txt | 2012-08-27 |
|
[cf36e5] - Added py_cleanup() function and removed autom... |
| distribute_setup.py | 2012-07-10 |
|
[5108d3] Converted from Python to C |
| setup.py | 2012-09-23 |
|
[0670e9] - Added VERSION |
# This README file gives a very rough idea of how to build Debian # packages for this module # There may be dependencies I've forgotten to mention! # Version numbers may change as well! VERSION=0.4.1a export DEBFULLNAME="Ben Croston" export DEBEMAIL="ben@croston.org" # install debian package build dependencies # sudo apt-get install devscripts build-essential fakeroot dh-make # create build area mkdir ~/temp cd ~/temp # get development source #hg clone https://code.google.com/p/raspberry-gpio-python/ cd raspberry-gpio-python # create tarball (in dist directory) python setup.py sdist cd ~/temp cp raspberry-gpio-python/dist/*.gz . tar xvfz RPi.GPIO-$VERSION.tar.gz mv RPi.GPIO-$VERSION rpi.gpio-$VERSION cd rpi.gpio-$VERSION dh_make -s -f ../RPi.GPIO-$VERSION.tar.gz # delete debian directory and replace it with my copy (from hg) rm -rf debian cp -a ~/temp/raspberry-gpio-python/debian . # remove distribute from setup.py (first two lines) #sed -i '1,2d' setup.py # create patch #dpkg-source --commit # build .deb files debuild -us -uc debuild clean