Skip to content

Distribute as a Python Pip Package? #5

Description

@emrainey

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions