public
Description: Simple PyPI server written in django. Allows you to register/upload with distutils and install with easy_install/pip.
Homepage:
Clone URL: git://github.com/ask/chishop.git
Click here to lend your support to: chishop and make a donation at www.pledgie.com !
name age message
file .gitignore Tue Mar 17 04:39:10 -0700 2009 Added the stuff buildout generates to ignore list [runeh]
file AUTHORS Mon Nov 23 01:53:59 -0800 2009 Added Bo Shi to AUTHORS [ask]
file Changelog Sat Mar 21 17:42:15 -0700 2009 Renamed Changes -> Changelog [Ask Solem]
file LICENSE Tue Mar 17 03:02:56 -0700 2009 Added proper structure [Ask Solem]
file MANIFEST.in Fri Apr 17 18:05:30 -0700 2009 Added LICENSE and Changelog to MANIFEST. [ask]
file README Wed Nov 11 07:57:38 -0800 2009 Merge branch 'sverrejoh/master' [ask]
file TODO Tue Nov 10 07:20:47 -0800 2009 Updated TODO with some features that PyPI has (... [ask]
file bootstrap.py Wed Nov 11 06:17:54 -0800 2009 Added bootstrap.py for zc.buildout [Sverre Johansen]
file buildout.cfg Wed Nov 11 08:34:10 -0800 2009 Use development settings by default [ask]
directory chishop/ Fri Nov 20 14:45:05 -0800 2009 Override admin branding. [Bo Shi]
directory djangopypi/ Sat Nov 21 16:33:34 -0800 2009 Modify constraints to allow different types of ... [bshi]
file index.html Fri Apr 17 08:49:57 -0700 2009 github generated gh-pages branch [ask]
file setup.py Tue Nov 17 11:34:22 -0800 2009 Remove pkgutil as a requirement [ask]
README
=========================================
ChiShop/DjangoPyPI
=========================================
:Version: 0.1

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

Install dependencies::

    $ python bootstrap.py --distribute
    $ ./bin/buildout

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

    $ $EDITOR chishop/settings.py
    $ ./bin/django syncdb

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.

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