Mercurial > hg > simpypi
annotate README.txt @ 75:809153401986
update documentation
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 02 Mar 2012 14:57:06 -0800 |
parents | 619b7612c7e9 |
children | 5fbe4374bc8a |
rev | line source |
---|---|
0 | 1 simpypi |
33
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
2 ======= |
0 | 3 |
75 | 4 Simple python package index |
5 | |
6 How simpypi works | |
7 ----------------- | |
8 | |
9 Currently ``simpypi`` only works on source distributions (that is, | |
10 packages made with ``python setup.py sdist``). | |
0 | 11 |
33
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
12 Running the Tests |
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
13 ----------------- |
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
14 |
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
15 ``tests-require.txt`` contains dependencies that should be installed |
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
16 to run the tests. |
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
17 |
39 | 18 TODO |
19 ---- | |
20 | |
75 | 21 While simpypi is pretty simple, just because it is only 100 lines of |
22 code doesn't mean that it is the *right* 100 lines of code. The | |
23 following issues could be addressed: | |
24 | |
25 * the temporary package should be dealt with entirely in memory, | |
26 ideally. Currently we write to a file and move it. | |
27 | |
28 * ``simpypi`` use ``pkginfo.sdist`` to read the data from a source | |
29 distribution. Instead, the uploaded package should probably be | |
30 unpacked and ``python setup.py sdist`` run and the resulting | |
31 package put in the appropriate place. This will allow archives | |
32 without ``PKG-INFO`` | |
33 (e.g. http://hg.mozilla.org/build/talos/archive/tip.tar.gz ) | |
34 to be uploaded as well as at least partially correct for the fact | |
35 that currently ``simpypi`` only works for uploaded source | |
36 distributions. | |
39 | 37 |
0 | 38 -- |
39 | |
33
058182b7b309
note test-requires.txt in the readme
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
40 http://k0s.org/mozilla/hg/simpypi |