cvra / can-bootloader

The bootloader used to flash our CAN-connected boards
BSD 2-Clause "Simplified" License
146 stars 51 forks source link

Use setup.py for bootloader client installation #69

Closed antoinealb closed 8 years ago

antoinealb commented 8 years ago

This PR adds a setup.py file to the bootloader client code to make it MUCH easier to install on the whole operating system. Maybe we could add it to PyPI so that installing the bootloader code becomes as easy as doing pip3 install cvra_bootloader :wink:

Who wants to test it ?

antoinealb commented 8 years ago

Tested on a linux box with SocketCAN adapter, everything seems good.

@nuft Are you still using pyserial for something in this repository or can I remove it from the dependencies ?

msplr commented 8 years ago

yes, atm I need pyserial for the USB CAN interface.

antoinealb commented 8 years ago

Ok, leaving it for now then. I published this branch on PyPI (https://pypi.python.org/pypi/cvra_bootloader/1.0.0) so you can now do pip3 install cvra_bootloader to get the client on your system. yay :+1: