Sharing utilities modules across python projects
directory-structure, python
Solution
Make a separate standalone package? And put it in the /site-packages of your python install?
There is also my personal favorite when it comes to development mode: use of symlinks and/or `*.pth` files.
Problem
What would be the best directory structure strategy to share a utilities module across my python projects? As the common modules would be updated with new functions I would not want to put them in the python install directory. ``` project1/ project2/ sharedUtils/ ``` From project1 I can not use "import ..\sharedUtils", is there any other way? I would rather not hardcode the "sharedUtils" location Thanks in advance