I have a package that I'm writing for internal use at the company I work at and I'd like to be able to host my package locally with different versions. I've already read python pip - install from local dir but it did not address my specific question.
What I envision is having a directory that contains wheels for the various versions of the packages I'm writing like below:
.. local_distributions
.
|-- my_package
| |-- my_python_package-0.0.0-py3-none-any.whl
| |-- my_python_package-0.0.1-py3-none-any.whl
| |-- my_python_package-0.0.2-py3-none-any.whl
How could I use pip to install a specified version of my local package from the directory containing the various wheel files? Ideally, it would be nice if I could add this folder to the pip
search path so that I could just type the command below and have things work:
pip install my_python_package==0.0.1
thanks!