Skip to content Skip to sidebar Skip to footer

Pip Install On A Shared Directory (windows)

I've tried to create my own Pypi repository, respecting https://www.python.org/dev/peps/pep-0503/. My idea was to put it in a shared directory (I'm using Windows), say host1/my-pyp

Solution 1:

For a remote UNC file share, specify the file URL with four slashes:

pip install --index-url file:////host1/my-pypi toto

In this case, the parsed netloc is empty and the path still includes the server hostname in UNC format, so isdir works correctly and index.html will be appended as expected.

Post a Comment for "Pip Install On A Shared Directory (windows)"