Start of Python import
This commit is contained in:
parent
d44e9e1d1b
commit
06b3639cb8
|
@ -0,0 +1,3 @@
|
||||||
|
# file GENERATED by distutils, do NOT edit
|
||||||
|
setup.py
|
||||||
|
spidriver.py
|
|
@ -0,0 +1,12 @@
|
||||||
|
set -e
|
||||||
|
python2 setup.py install --user
|
||||||
|
exit
|
||||||
|
|
||||||
|
echo Python3:
|
||||||
|
python3 ./confirm.py 1
|
||||||
|
echo Python2:
|
||||||
|
python2 ./confirm.py 1
|
||||||
|
|
||||||
|
# ./thrash.py 3
|
||||||
|
./eve.py 9999
|
||||||
|
python3 ./watch.py
|
|
@ -0,0 +1,21 @@
|
||||||
|
# coding=utf-8
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
LONG = """\
|
||||||
|
I2CDriver is a tool for controlling, monitoring and capturing I2C from your PC's USB port. It connects as a standard USB serial device, so there are no drivers to install."""
|
||||||
|
|
||||||
|
for l in open("i2cdriver.py", "rt"):
|
||||||
|
if l.startswith("__version__"):
|
||||||
|
exec(l)
|
||||||
|
|
||||||
|
setup(name='i2cdriver',
|
||||||
|
version=__version__,
|
||||||
|
author='James Bowman',
|
||||||
|
author_email='jamesb@excamera.com',
|
||||||
|
url='http://i2cdriver.com',
|
||||||
|
description='I2CDriver is a desktop I2C interface',
|
||||||
|
long_description=LONG,
|
||||||
|
license='GPL',
|
||||||
|
py_modules=['i2cdriver'],
|
||||||
|
install_requires=['pyserial']
|
||||||
|
)
|
Loading…
Reference in New Issue