How to install your personal module/package on site.

Antoon Pardon antoon.pardon at vub.be
Fri Aug 21 05:05:39 EDT 2020



Op 21/08/20 om 01:49 schreef Cameron Simpson:
> On 16Aug2020 08:32, Marco Sulla <Marco.Sulla.Python at gmail.com> wrote:
>> Sorry, didn't read well, Apart the other suggestion, you (or your
>> sysop) can create a private Pypi:
>> https://pypi.org/project/private-pypi/
> 
> Even simpler, you can put a code repo path into your requirements.txt
> (or directly with pip via its "-e" option). Example from a project
> requirements.txt file:
> 
>      -e git+https://github.com/SpectraLogic/ds3_python3_sdk.git@v5.0.3#egg=ds3-sdk
> 
> So if you've an work internal service for your revision control you can
> pull directly from that with pip. Note that the above example pulls a
> particular tagged release via the "@5.0.3" suffix.

That is a nice feature. I will have a closer look at this.

-- 
Antoon Pardon.


More information about the Python-list mailing list