Meta

Month: February 2017

Assuming you have set up your setup.py script in your local package sitting on your machine and you want to install this package in another project using pip, then first you can build an archive of your package using the following command:

python setup.py sdist

This will create a dist folder in your package and put the archive inside it.

Next, switch to the virtualenv of the destination project if applicable and install the package using a command like: