I'm fairly new to Python and even newer to git, so pleas forgive me if I'm going over old ground, but I need the assistance of an expert:
I am working on a python(3.4) project of my own which makes use of a library I installed using pip. This library is also available as a repo at python-OBD. I have needed to make changes to this library, and given my limited knowledge, I've made changes directly in the installed code (/usr/local/lib/python3.4/dist-packages/obd/...), which I have not doubt is probably the most wrong way of doing it, so...
What would be the best way of achieving this the right way? If I pull the repo, where would be the best place to put it (my project is located in /home/python/obdlogger/). Would it be beneficial to pull the repo to /home/python/obd for example? Then, how do I make reference to that library in my own project? As the library is installed via pip, at the moment I just
import OBD
but I'd be guessing that this would no longer be sufficient to reference the repo I've pulled. Lastly, should I uninstall the library installed via pip to avoid python confusion?
Hope this makes sense! Any help would be appreciated.