Skip to content

Commit a7915c8

Browse files
author
Richard Jones
committed
Added the 'clean' command to the instructions
distutils doesn't seem to always detect when it needs to rebuild when it should.
1 parent 2be941d commit a7915c8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

BUILD.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,25 @@ want it to stay that way, too.
1717
This means that we only need to ever build source releases. This is done by
1818
running:
1919

20+
0. python setup.py clean --all
2021
1. Edit setup.py to ensure that all information therein (version, contact
2122
information etc) is correct.
22-
2. python setup.py sdist -o
23+
2. python setup.py sdist --manifest-only
2324
3. Check the MANIFEST to make sure that any new files are included. If
2425
they are not, edit MANIFEST.in to include them. "Documentation" for
2526
MANIFEST.in may be found in disutils.filelist._parse_template_line.
2627
4. python setup.py sdist
27-
(if you find sdist a little verbose, add "-q" to the end of the command)
28+
(if you find sdist a little verbose, add "--quiet" to the end of the
29+
command)
2830
5. FTP the tar.gz from the dist directory to to the "incoming" directory on
2931
"upload.sourceforge.net".
3032
6. Make a quick release at:
3133
http://sourceforge.net/project/admin/qrs.php?package_id=&group_id=31577
3234

35+
So, those commands in a nice, cut'n'pasteable form :)
36+
python setup.py clean --all
37+
python setup.py sdist --manifest-only
38+
python setup.py sdist --quiet
3339

3440

3541
2. Author

0 commit comments

Comments
 (0)