Commits

Ben Bass committed 8c6471b

update for 0.10.2

Comments (0)

Files changed (6)

 pylibftdi changes
 =================
 
+0.10.2
+ * include examples subpackage
+ * ensure examples work under Python3
+ * 'python -m pylibftdi.examples.led_flash' should now work and pulse D0
 0.10.1
  * 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
 0.10
  * support for FT232H via iteration over lists USB_VID_LIST/USB_PID_LIST in driver.py (FT232H uses different PID)
 # 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.

doc/installation.rst

 Linux
 -----
 
-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.

pylibftdi/__init__.py

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

pylibftdi/examples/bit_server.py

     try:
         HTTP_PORT = int(sys.argv[1])
     except TypeError:
-        print "Usage: FtdiWebServer [portnumber]"
+        print("Usage: FtdiWebServer [portnumber]")
     except IndexError:
         pass
 
 
 setup(
     name="pylibftdi",
-    version="0.10.1",
+    version="0.10.2",
     description="Pythonic interface to FTDI devices using libftdi",
     long_description=open('README.rst').read(),
     author="Ben Bass",