- Version
0.1
Install dependencies:
$ python bootstrap.py --distribute
$ ./bin/buildout
$ $EDITOR chishop/settings.py
$ ./bin/django syncdb
$ ./bin/django runserver
Please note that chishop/media/dists
has to be writable by the user the web-server is running as.
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
To push the package to the local pypi:
$ python setup.py register sdist upload -r local
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