Import python packages directly from a git repository
- Python 3.4 or higher
- libgit2 installed
brew install libgit2
pip3 install gitimport
import gitimport
gitimport.add_repository_to_path('/path/to/your/repo', rev='demo')
# Now you can import 'your_module' from the git repository
import your_module