Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 chishop
Octocat-spinner-32 djangopypi
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 Changelog
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 buildout.cfg
Octocat-spinner-32 index.html
Octocat-spinner-32 setup.py
README
=========================================
ChiShop/DjangoPyPI
=========================================
:Version: 0.1
:Authors:
    Ask Solem (askh@opera.com)

Installation
============

First you have to install the dependencies::

    $ python setup.py build
    # python setup.py install # (run as root)

Initial configuration
---------------------
::

    $ cd chipshop/

    $ $EDITOR settings.py

    $ python manage.py syncdb

Run the PyPI server
-------------------
::

    $ python manage.py runserver


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

Using Setuptools
================

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

    [distutils]
    index-servers =
        pypi
        local


    [pypi]
    username:user
    password:secret

    [local]

    username:user
    password:secret
    repository:http://localhost:8000

Uploading a package: Python >=2.6
--------------------------------------------

To push the package to the local pypi::

    $ python setup.py register 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 setup.py mregister sdist mupload -r local

.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround
Something went wrong with that request. Please try again.