I have some core Python packages that I develop for my team. The package directory is setup in standard way;
/mypkg
/mypkg
/tests
README.txt
LICENSE.txt
setup.py
.gitignore
Now, because these are for internal use only, and for other company-sensitive reasons, my remote git repository is just a shared network drive;
//svr/path/to/remote/repo.git
The core packages are relativley stable, and are updated with bug fixes and new features from time to time.
I also develop a set of tools which are distributed to team members. These team members all have access to the shared drive location.
Can they pip install
directly from the shared drive?
I have seen answers with stuff like;
pip install git+https://github/user/repo.git
and I know about
pip install --find-links ...
Can they somehow be combined??? It would be cool?
I know that an easier solution would be clone the git repo and then run setup.py
but some of the end-users are non tech-savvy and also may not have git installed (as we are on Windows)
If I could simply add a line in the requirements.txt file which pointed at the shared drive that would be nice...
UPDATE:
If I use
pip install git+file://path/to/remote/repo.git
it works as I would like - but would this approach require git to be installed?