Skip to main content

Example Project to show how to package a Django project for pip

Project description


This is just a sample project to illustrate how to package a Django project so it can be installed over PyPi with pipi.

Installing the project from a local directory:

If you clone the code repository to a local directory (~/tmp/django-pip-project/pipinator/) you can install the project with the following command:

pip3 install -e ~/tmp/django-pip-project/pipinator/

You need to run `pipinator` inside (or above) the local directory you cloned the project to or you will get an `SuspiciousFileOperation` Error.

Uploading to PyPi:

Check if the description and long_description can be rendered by PyPi:

pip install readme_renderer
python check -r -s

Create a source distribution:

python sdist

This creates a `dist/` directory containing a archive with your project.

**Note**: There are also other ways to package your project. See the Python documentation for a complete guide on how to package your project:

Create an account on PyPi:


Upload your project to PyPi:

pip install twine
twine upload dist/*


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pipinator, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pipinator-0.1.2.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page