pypi cleanups
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
37db1e8c2f
commit
d20ae0596d
3 changed files with 30 additions and 50 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,3 +17,4 @@ docs/man/man*/docbook-xsl.css
|
||||||
# Python: cache, distutils
|
# Python: cache, distutils
|
||||||
__pycache__/
|
__pycache__/
|
||||||
MANIFEST
|
MANIFEST
|
||||||
|
dist/
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
include docs/changelog docs/changelog-2.1
|
include docs/changelog docs/changelog-2.1
|
||||||
recursive-include docs/gfx *.png *.text
|
recursive-include docs/gfx *.png *.text
|
||||||
recursive-include docs *.text
|
recursive-include docs *.text *.html *.1 *.7
|
||||||
|
|
41
build
41
build
|
@ -52,37 +52,6 @@ case "$1" in
|
||||||
"$0" manbuild
|
"$0" manbuild
|
||||||
;;
|
;;
|
||||||
|
|
||||||
pypi-manifest)
|
|
||||||
# init MANIFEST
|
|
||||||
echo README > MANIFEST
|
|
||||||
|
|
||||||
# bin
|
|
||||||
echo bin/cdist >> MANIFEST
|
|
||||||
|
|
||||||
# main source
|
|
||||||
find cdist -type f >> MANIFEST
|
|
||||||
|
|
||||||
# conf
|
|
||||||
find conf -type f >> MANIFEST
|
|
||||||
|
|
||||||
# docs
|
|
||||||
ls docs/changelog* >> MANIFEST
|
|
||||||
find docs/gfx -type f >> MANIFEST
|
|
||||||
find docs/man/ -type f -name \*.text >> MANIFEST
|
|
||||||
find docs/man/ -type f -name \*.text.sh >> MANIFEST
|
|
||||||
|
|
||||||
# other
|
|
||||||
find other/ -type f >> MANIFEST
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
|
||||||
|
|
||||||
pypi)
|
|
||||||
$0 clean
|
|
||||||
$0 pypi-manifest
|
|
||||||
python3 setup.py sdist
|
|
||||||
;;
|
|
||||||
|
|
||||||
manbuild)
|
manbuild)
|
||||||
trap abort INT
|
trap abort INT
|
||||||
abort() {
|
abort() {
|
||||||
|
@ -119,6 +88,12 @@ case "$1" in
|
||||||
./docs/dev/releasechecklist
|
./docs/dev/releasechecklist
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
pypi)
|
||||||
|
$0 very-clean
|
||||||
|
$0 man
|
||||||
|
python3 setup.py sdist
|
||||||
|
;;
|
||||||
|
|
||||||
speeches)
|
speeches)
|
||||||
cd "$SPEECHESDIR"
|
cd "$SPEECHESDIR"
|
||||||
for speech in *tex; do
|
for speech in *tex; do
|
||||||
|
@ -177,6 +152,10 @@ case "$1" in
|
||||||
|
|
||||||
rm -f MANIFEST
|
rm -f MANIFEST
|
||||||
;;
|
;;
|
||||||
|
very-clean)
|
||||||
|
$0 clean
|
||||||
|
rm -rf cache/
|
||||||
|
;;
|
||||||
|
|
||||||
test)
|
test)
|
||||||
shift # skip t
|
shift # skip t
|
||||||
|
|
Loading…
Reference in a new issue