Skip to content

Commit 9ae460e

Browse files
committed
python -> python3, check removed files; baseline from 2.0.0
Change commands using python to python3 so I can cut-paste. Add a check of the manifest/SOURCES file for removed files. Sometimes dregs are left in the working tree. Change commands that reference previous release of software to use 2.0.0.
1 parent 5eb1d57 commit 9ae460e

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

RELEASE.txt

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Roundup release checklist:
4444

4545
Check that metadata is valid and long descriptions is proper reST:
4646

47-
python setup.py check --restructuredtext --metadata --strict
47+
python3 setup.py check --restructuredtext --metadata --strict
4848

4949
6. Clean out all *.orig, *.rej, .#* files from the source.
5050

@@ -60,21 +60,21 @@ Roundup release checklist:
6060

6161
7. Remove previous build files
6262

63-
python setup.py clean --all
63+
python3 setup.py clean --all
6464
rm -rf build/share # deletes locale .mo files
6565

6666
Build including new .mo files built in 6a.
6767

68-
python setup.py build
68+
python3 setup.py build
6969

7070
(sdist generation will fail if this isn't done)
7171
8. Rebuild documentation in "share/doc/roundup/html"
7272

73-
python setup.py build_doc
73+
python3 setup.py build_doc
7474

7575
9. Generate source distribution:
7676

77-
python setup.py sdist
77+
python3 setup.py sdist
7878

7979
(if you find sdist a little verbose, add "--quiet" to the end of the
8080
command)
@@ -90,14 +90,27 @@ Roundup release checklist:
9090
added and removed files. Last release e.g. 1.5.1 where tip is what would
9191
become 1.6) E.G.
9292

93-
hg status --rev 1.5.1:tip | sed -ne 's/^A //p' | while read i ; \
94-
do echo $i; grep "$i" roundup.egg-info/SOURCES.txt; done | uniq -c
93+
hg status --rev 2.0.0:tip | sed -ne 's/^A //p' | while read i ; \
94+
do echo $i; grep "$i" roundup.egg-info/SOURCES.txt; done | \
95+
uniq -c | sort -rn
9596

9697
Anything with a count of 1 is not in the manifest.
9798
If there are missing files that should be in the manifest,
9899
edit MANIFEST.in to include them. For format docs see
99100
https://packaging.python.org/guides/using-manifest-in/#using-manifest-in
100101
(Note: files under website/ shouldn't be in the manifest.)
102+
103+
10a: Check for removed files still in manifest:
104+
105+
hg status --rev 2.0.0:tip | sed -ne 's/^R //p' | while read i ; \
106+
do echo $i; grep "$i" roundup.egg-info/SOURCES.txt; done | \
107+
uniq -c | sort -n
108+
109+
any file with a count of 2 or more needs to be removed from
110+
MANIFEST.in and possibly cleaned out of the build tree.
111+
112+
10b: if you added/removed files rebuild starting at step 6a.
113+
101114
11. Unpack the new tarball created in dist/roundup-<version>.tar.gz
102115
file in /tmp then
103116
a) run tests using installed pytest run under python2 and
@@ -114,7 +127,7 @@ Roundup release checklist:
114127
pypi account and be added as a maintainer to roundup. Ask existing
115128
maintainer for access. You can do this two ways:
116129

117-
python setup.py sdist upload --repository pypi --sign
130+
python3 setup.py sdist upload --repository pypi --sign
118131

119132
which rebuilds the source distribution tarball and uploads it.
120133
This means that you have uploaded something tha is not tested. It

0 commit comments

Comments
 (0)