chishop python

Simple PyPI server written in django. Allows you to register/upload with distutils and install with easy_install/pip.

4 years after

Installation using virtualenv ::

$ git clone git:// saltycrane-chishop
$ cd saltycrane-chishop/
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install -e ./
$ cp chishop/ chishop/
$ cd chishop
$ ./ syncdb
$ ./ migrate
$ ./ runserver

========================================= ChiShop/DjangoPyPI

:Version: 0.1


Install dependencies::

$ python
$ ./bin/buildout

Initial configuration


$ cp chishop/ chishop/
$ $EDITOR chishop/
$ ./bin/django syncdb && ./bin/django migrate

Run the PyPI server


$ ./bin/django runserver

Please note that chishop/media/dists has to be writable by the user the web-server is running as.

In production

You may want to copy the file chishop/ and modify for use as your production settings; you will also need to modify bin/django.wsgi to refer to your production settings.

Using Setuptools

Add the following to your ~/.pypirc file::

index-servers =




Uploading a package: Python >=2.6

To push the package to the local pypi::

$ python register -r local sdist upload -r local

Uploading a package: Python <2.6

If you don't have Python 2.6 please run the command below to install the backport of the extension::

 $ easy_install -U collective.dist

instead of using register and dist command, you can use "mregister" and "mupload", that are a backport of python 2.6 register and upload commands, that supports multiple servers.

To push the package to the local pypi::

$ python mregister -r local sdist mupload -r local

.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround

Top Contributors

benliles dcramer russell hltbra jezdez bshi runeh brosner saltycrane carljm viniciuschagas vandersonmota ghickman jacobian stefanfoulis


-   v0.2.0 zip tar
-   v0.1.0 zip tar