2016-07-18

I want to download some packages using pip. These packages are located in a personal repo on a server that uses gitlab. I found the way of downloading them as zip files but inside the zip there is also the .git directory and I want to avoid this.

At the moment I use a command like this:

but this seems to simply cloning the repo and zip all the contents of the destination directory. It would be useful to have pip running a sdist command to build a .tar.gz version of the package instead of including all repo contents. Is there a way of doing this?

Show more