diff options
author | Ask Solem <askh@opera.com> | 2009-05-04 10:38:38 +0200 |
---|---|---|
committer | Ask Solem <askh@opera.com> | 2009-05-04 10:38:38 +0200 |
commit | 76d401adcdfc846124daaa1e186e982cb6be415d (patch) | |
tree | b25011b82639c07d819b002bfc1a1a9b422b7fbd | |
parent | 647731a40471cfbaf4805a345f1db9ac88cf6343 (diff) | |
parent | 39909f5d9e09622df9fd9e855831c9544b1de700 (diff) | |
download | chishop-76d401adcdfc846124daaa1e186e982cb6be415d.tar.bz2 chishop-76d401adcdfc846124daaa1e186e982cb6be415d.tar.xz chishop-76d401adcdfc846124daaa1e186e982cb6be415d.zip |
Merge branch 'russell/master'
-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 |