It would be useful for users to be able to pip install pcanbasic so that can use your python library without having to manually install it themselves. I think It would have to:
1.) Install PCANBasic.py into the site-packages (pip does this for you if you follow the proper layout)
2.) Install libPCBUSB.0.10.1.dylib into a known location, like /usr/local/lib then run ldconfig. This might be some custom code.
Users would then run:
$ python3 -m pip install pcanbasic
Then in their python code they can just import it
# import the class PCANBasic from the module named PCANBasic
from PCANBasic import PCANBasic
And it works!
It would be useful for users to be able to
pip install pcanbasicso that can use your python library without having to manually install it themselves. I think It would have to:1.) Install PCANBasic.py into the
site-packages(pip does this for you if you follow the proper layout)2.) Install
libPCBUSB.0.10.1.dylibinto a known location, like/usr/local/libthen runldconfig. This might be some custom code.Users would then run:
Then in their python code they can just
importitAnd it works!