Commit graph

27 commits

Author SHA1 Message Date
mpratt14
fcf67c0209
setup.py: make print statements compatible with both Python 2 and 3 2019-04-02 20:37:50 -04:00
mpratt14
d943526240
Fix previous pull request for setup.py
doing a better job than #96 

prints possible requirement for root or admin privileges
tries to import pip before calling ensurepip (which isnt needed for python 3)

this time, don't even keep the method from ez_setup.py, there's no point...
commenting it out with ''' ''' gave me an IOError

bump version because why not?
2019-04-02 00:22:52 -04:00
mpratt14
662d0d9d31
setup.py: use the routine modern method for installing setuptools
My suggestion for fixing the deprecated method for installing or updating setuptools using ez_setup.py
Also ensures that both pip and setuptools are 'bootstrapped' to the python environment, which does not always happen on a fresh install in Windows.

Fixes #96 

This can be made more robust by detecting if pip or setuptools is installed with `pip --version`, etc...
2019-03-28 23:15:44 -04:00
Tony DiCola
060f6d6782 Minor bump for Pi 3 on 4.9.x kernel detection. 2017-03-06 22:44:49 -08:00
Tony DiCola
bd058f7d2e Minor version bump for python 3 FT232H fix. 2017-02-06 23:43:48 -08:00
Tony DiCola
5abc5d276e Fix python 3 pip install issue with ez_setup relative import. 2016-10-20 03:06:46 +00:00
Tony DiCola
fdf0fca418 Switch to use pure python I2C interface with python 2 & 3 compatibility vs. older python-smbus library. 2016-04-20 19:27:50 +00:00
Tony DiCola
fde18b88da Fix merge conflict. 2015-05-07 23:34:13 +00:00
Tony DiCola
bcb5cef265 Bump version to 0.9.2 2015-05-07 23:08:31 +00:00
Tony DiCola
564b131266 Bump version to 0.9.1 to include contributed Minnowboard Max support. 2015-05-07 21:28:22 +00:00
Andrey Somov
4f9dfde086 Issue 20: rename test folder 2015-03-24 19:00:06 +00:00
Tony DiCola
19a6ef1aea Fix software SPI driver initializer to define MOSI, MISO, SS pins as optional. 2015-03-19 22:17:58 +00:00
Tony DiCola
558fbab3a8 Update FT232H code to support enumerating device serial numbers and opening device by specific serial number. 2015-02-16 13:34:20 -08:00
Tony DiCola
54f486c757 Update to support correctly detecting Raspberry Pi 2. 2015-02-05 17:00:09 -08:00
Tony DiCola
4f2ea8342f Add GPIO cleanup function to remove event detection. 2015-01-03 01:18:43 +00:00
Tony DiCola
38180a82b2 Bump up version to 0.7. No breaking changes to existing interfaces, merely a version bump to differentiate library versions with event detection support from those without. 2014-12-20 16:42:55 -08:00
Andrey Somov
973745604b Fix issue 11: use spaces for indentation 2014-12-15 16:58:20 +01:00
Tony DiCola
cfdd75d35f Fix #9 by adding missing kwargs parameter to MCP230xx base. 2014-11-23 14:06:30 -08:00
Tony DiCola
f04bedef05 Refactor I2C and SPI to support FT232H as I2C and SPI master. No changes to existing I2C and SPI interface. 2014-11-20 20:54:45 -08:00
Tony DiCola
be1d242f4b Fix bug with FT232H read polling, improve reliability, and refactor FT232H I2C to batch calls into a single transaction/command. 2014-11-17 13:49:12 -08:00
Tony DiCola
63f3234e65 Add FT232H support using libftdi (note I2C is unstable and a work in progress). 2014-11-12 04:16:06 -08:00
Tony DiCola
44097080e0 Fix bug with bitbang SPI and no MISO pin specified. Bump version up to 0.5.5. 2014-09-17 07:20:41 +00:00
Tony DiCola
13790476f8 Merge #6 and bump version up to 0.5.0 2014-08-02 11:41:02 -07:00
Tony DiCola
d4cccdd8cc Add PWM and MCP230xx support. 2014-04-23 20:29:14 +00:00
Tony DiCola
6532a0e0ee Explicitly set SPI mode to 0 by default. 2014-06-25 09:55:39 -07:00
Tony DiCola
48a6f685e5 Refactor platform detection to common module, and add I2C support. 2014-06-16 13:37:42 -07:00
Tony DiCola
82bb79962d Initial commit. 2014-05-30 05:48:21 -07:00