lsgunth / pyft232

Python bindings to d2xx and libftdi to access FT232 chips with the same interface as pyserial
GNU Lesser General Public License v2.1
11 stars 11 forks source link

fix library load on non-windows machines #2

Closed mandross closed 7 years ago

mandross commented 7 years ago

See: https://docs.python.org/3.6/library/ctypes.html#loading-dynamic-link-libraries

lsgunth commented 7 years ago

Can you please squash these it looks like two commits are meaningless and get overwritten.

Also, can you describe what you're trying to fix? It was intended that on Non-Windows machines you'd use libftdi and not the d2xx drivers which didn't exist when this package was written.

Thanks,

Logan

mandross commented 7 years ago

Squashed.

We want to use the d2xx drivers on linux and mac. The drivers are available for all the platforms now. If d2xx drivers are not installed libftdi will be loaded.

Cheers, Jakub

lsgunth commented 7 years ago

Cool. Thanks!