Mercurial > p > roundup > code
annotate BUILD.txt @ 2119:cc4667ef3f12
Added the ability to toggle where error messages go.
They either go to the user (default, for backwards compatibility), the
dispatcher, or both. These are able to be toggled via settings in config.py.
Please refer to upgrading.txt for more details. (And Richard, let me know
if I've done anything wrong with this checkin. :))
| author | Eddie Parker <eparker@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Mar 2004 19:27:15 +0000 |
| parents | 0e19e99075e3 |
| children | 7852c5bc75f6 |
| rev | line source |
|---|---|
| 1354 | 1 Building Releases |
| 2 ================= | |
|
98
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
3 |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 Roundup is currently a source-only release - it has no binary components. I |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
5 want it to stay that way, too. |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
7 This means that we only need to ever build source releases. This is done by |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
8 running: |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
9 |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
10 1. Make sure the unit tests run! "./run_tests" |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
11 2. Edit roundup/__init__.py and doc/announcement.txt to reflect the new |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
12 version and appropriate announcements. Add truncated announcement to |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
13 setup.py description field. |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
14 3. python setup.py clean --all |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
15 4. Edit setup.py to ensure that all information therein (version, contact |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
16 information etc) is correct. |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
17 5. python setup.py sdist --manifest-only |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
18 6. Check the MANIFEST to make sure that any new files are included. If |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
19 they are not, edit MANIFEST.in to include them. "Documentation" for |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
20 MANIFEST.in may be found in disutils.filelist._parse_template_line. |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
21 7. python setup.py sdist |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
22 (if you find sdist a little verbose, add "--quiet" to the end of the |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
23 command) |
|
1947
0e19e99075e3
fix #white in cgitb
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
24 8. unpack the new dist file in /tmp then a) run_test.py and b) demo.py |
|
0e19e99075e3
fix #white in cgitb
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
25 with all available Python versions. |
|
0e19e99075e3
fix #white in cgitb
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
26 9. generate gpg signature with "gpg -a --detach-sign" and upload to |
|
0e19e99075e3
fix #white in cgitb
Richard Jones <richard@users.sourceforge.net>
parents:
1939
diff
changeset
|
27 Sourceforge. |
|
1939
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
28 10. PyPI registration |
|
1303c208419d
some updates that were sitting on disk
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
29 11. tag the CVS for the release, eg. "cvs tag -R release-0-6-3" |
|
98
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
30 |
| 1354 | 31 So, those commands in a nice, cut'n'pasteable form:: |
| 32 | |
| 33 python setup.py clean --all | |
| 34 python setup.py sdist --manifest-only | |
| 35 python setup.py sdist --quiet | |
|
1605
da7edcdd8500
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
1354
diff
changeset
|
36 python2.3 setup.py register |
|
98
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
37 |
|
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
38 |
| 1354 | 39 Distributing Releases |
| 40 ===================== | |
|
493
3daf92816746
build notes, modified announcement
Richard Jones <richard@users.sourceforge.net>
parents:
240
diff
changeset
|
41 |
|
3daf92816746
build notes, modified announcement
Richard Jones <richard@users.sourceforge.net>
parents:
240
diff
changeset
|
42 Once a release is built, follow these steps: |
| 1354 | 43 |
| 44 1. FTP the tar.gz from the dist directory to to the "incoming" directory on | |
| 45 "upload.sourceforge.net". | |
| 46 2. Make a quick release at: | |
| 47 http://sourceforge.net/project/admin/qrs.php?package_id=&group_id=31577 | |
| 48 3. Add a news item at: | |
| 49 https://sourceforge.net/news/submit.php?group_id=31577 | |
| 50 using the top of doc/announcement.txt | |
| 51 4. Send doc/announcement.txt to python-announce@python.org | |
| 52 5. Notify any other news services as appropriate... | |
|
493
3daf92816746
build notes, modified announcement
Richard Jones <richard@users.sourceforge.net>
parents:
240
diff
changeset
|
53 |
|
3daf92816746
build notes, modified announcement
Richard Jones <richard@users.sourceforge.net>
parents:
240
diff
changeset
|
54 |
| 1354 | 55 Author |
| 56 ====== | |
| 57 | |
|
194
30c3a37b699f
Started stuff off for the 0.2.5 release
Richard Jones <richard@users.sourceforge.net>
parents:
184
diff
changeset
|
58 richard@users.sourceforge.net |
|
98
16dcdab5ce70
Added build instructions...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
59 |
