1. Ben Bass
  2. pylibftdi


Ben Bass  committed 8c6471b

update for 0.10.2

  • Participants
  • Parent commits 69da6f2
  • Branches default
  • Tags 0.10.2

Comments (0)

Files changed (6)

File CHANGES.txt

View file
 pylibftdi changes
+ * include examples subpackage
+ * ensure examples work under Python3
+ * 'python -m pylibftdi.examples.led_flash' should now work and pulse D0
  * maintenance build to fix installation issues
- * 'python -m pylibftdi.examples.led_flash' should now work and pulse D0
  * USB_VID_LIST/USB_PID_LIST exposed directly as pylibftdi attributes
  * support for FT232H via iteration over lists USB_VID_LIST/USB_PID_LIST in driver.py (FT232H uses different PID)

File doc/conf.py

View file
 # built documents.
 # The short X.Y version.
-version = '0.10.1'
+version = '0.10.2'
 # The full version, including alpha/beta/rc tags.
-release = '0.10.1'
+release = '0.10.2'
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

File doc/installation.rst

View file
-Debian - 0.19-3 libftdi1
+One potential issue is with permissions to access the device, which can be
+seen as a error when opening devices (with a '-4' error code).
+The solution is to add udev rules to deal with the devices - the following
+works for me under Arch linux:
+   SUBSYSTEMS="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP=="users", MODE="0660"
+   SUBSYSTEMS="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", GROUP=="users", MODE="0660"
+Repeat for any other required USB PIDs. You'll probably find a more appropriate GROUP than 'users' depending on your Linux distribution.

File pylibftdi/__init__.py

View file
 rather than a problem with the libftdi library.
-__VERSION__ = "0.10.1"
+__VERSION__ = "0.10.2"
 __AUTHOR__ = "Ben Bass"

File pylibftdi/examples/bit_server.py

View file
         HTTP_PORT = int(sys.argv[1])
     except TypeError:
-        print "Usage: FtdiWebServer [portnumber]"
+        print("Usage: FtdiWebServer [portnumber]")
     except IndexError:

File setup.py

View file
-    version="0.10.1",
+    version="0.10.2",
     description="Pythonic interface to FTDI devices using libftdi",
     author="Ben Bass",