aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Sim <russell.sim@vpac.org>2009-04-21 20:51:23 +1000
committerRussell Sim <russell.sim@vpac.org>2009-04-21 20:51:23 +1000
commit0acf3892c113e65cc5087edbe73149f6704df086 (patch)
tree8d3826cedb20b4b9ad739a82a04339a6c10ab693
parent9912d25f105a6a9ae0ead2a18f41140992a5ffef (diff)
downloadchishop-0acf3892c113e65cc5087edbe73149f6704df086.tar.bz2
chishop-0acf3892c113e65cc5087edbe73149f6704df086.tar.xz
chishop-0acf3892c113e65cc5087edbe73149f6704df086.zip
cleaned up README, added simple usage example
-rw-r--r--README40
1 files changed, 37 insertions, 3 deletions
diff --git a/README b/README
index b0d224d..08e0189 100644
--- a/README
+++ b/README
@@ -15,6 +15,8 @@ First you have to install the dependencies::
15 15
16Initial configuration 16Initial configuration
17--------------------- 17---------------------
18::
19
18 $ cd chipshop/ 20 $ cd chipshop/
19 21
20 $ $EDITOR settings.py 22 $ $EDITOR settings.py
@@ -23,6 +25,7 @@ Initial configuration
23 25
24Run the PyPI server 26Run the PyPI server
25------------------- 27-------------------
28::
26 29
27 $ python manage.py runserver 30 $ python manage.py runserver
28 31
@@ -30,8 +33,39 @@ Run the PyPI server
30Please note that ``chishop/media/dists`` has to be writable by the 33Please note that ``chishop/media/dists`` has to be writable by the
31user the web-server is running as. 34user the web-server is running as.
32 35
33Contact Information 36Using Setuptools
34==================== 37================
35askh@opera.com 38
39Add the following to your ``~/.pypirc`` file::
40
41 [distutils]
42 index-servers =
43 pypi
44 local
45
46
47 [pypi]
48 username:user
49 password:secret
50
51 [local]
52
53 username:user
54 password:secret
55
56 repository:http://localhost:8000
57
58Pushing a package to local PyPI
59-----------------------------------
60
61instead 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.
62
63To push the package to the local pypi::
64
65 $ python setup.py mregister sdist mupload -r local
66
67If you don't have Python 2.6 please run the command below to install the backport of the extension::
68
69 $ easy_install -U collective.dist
36 70
37.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround 71.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround