diff options
author | Russell Sim <russell.sim@vpac.org> | 2009-04-22 08:36:32 +1000 |
---|---|---|
committer | Russell Sim <russell.sim@vpac.org> | 2009-04-22 08:36:32 +1000 |
commit | 39909f5d9e09622df9fd9e855831c9544b1de700 (patch) | |
tree | 495e9ac74533aee2f4e806404810d86ba7f9dd0d | |
parent | 81344edb1d615dc93faaf4b5581aa8277087efa6 (diff) | |
download | chishop-39909f5d9e09622df9fd9e855831c9544b1de700.tar.bz2 chishop-39909f5d9e09622df9fd9e855831c9544b1de700.tar.xz chishop-39909f5d9e09622df9fd9e855831c9544b1de700.zip |
updated documentation to make it clearer
-rw-r--r-- | README | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -52,20 +52,27 @@ Add the following to your ``~/.pypirc`` file:: | |||
52 | 52 | ||
53 | username:user | 53 | username:user |
54 | password:secret | 54 | password:secret |
55 | |||
56 | repository:http://localhost:8000 | 55 | repository:http://localhost:8000 |
57 | 56 | ||
58 | Pushing a package to local PyPI | 57 | Uploading a package: Python >=2.6 |
59 | ----------------------------------- | 58 | -------------------------------------------- |
60 | |||
61 | 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. | ||
62 | 59 | ||
63 | To push the package to the local pypi:: | 60 | To push the package to the local pypi:: |
64 | 61 | ||
65 | $ python setup.py mregister sdist mupload -r local | 62 | $ python setup.py register sdist upload -r local |
63 | |||
64 | |||
65 | Uploading a package: Python <2.6 | ||
66 | ------------------------------------------- | ||
66 | 67 | ||
67 | If you don't have Python 2.6 please run the command below to install the backport of the extension:: | 68 | If you don't have Python 2.6 please run the command below to install the backport of the extension:: |
68 | 69 | ||
69 | $ easy_install -U collective.dist | 70 | $ easy_install -U collective.dist |
70 | 71 | ||
72 | 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. | ||
73 | |||
74 | To push the package to the local pypi:: | ||
75 | |||
76 | $ python setup.py mregister sdist mupload -r local | ||
77 | |||
71 | .. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround | 78 | .. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround |