Sverre Johansen 2c42e8d218 Moved app templates into project.
Makes sense to keep the templates in the main folder as long as they
are not independent from the project (they seldome are anyway).
2009-11-11 15:40:32 +01:00
2009-11-11 15:40:32 +01:00
2009-11-11 15:19:12 +01:00
2009-03-22 01:42:15 +01:00
2009-04-17 17:49:57 +02:00
2009-03-17 11:02:56 +01:00

=========================================
ChiShop/DjangoPyPI
=========================================
:Version: 0.1
:Authors:
    Ask Solem (askh@opera.com)

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
S
Description
No description provided
Readme 328 KiB
Languages
Python 83%
HTML 16.9%