update test/test-release.sh -S, MANIFEST.in

This commit is contained in:
The MMGen Project 2023-12-07 16:48:00 +00:00
commit 7374b53130
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 14 additions and 13 deletions

View file

@ -1,8 +1,7 @@
include README.md SIGNING_KEYS.pub LICENSE INSTALL eth-requirements.txt
include README.md SIGNING_KEYS.pub LICENSE INSTALL *-requirements.txt
include doc/*
include doc/*/*
include doc/*/*/*
include doc/release-notes/*
include doc/wiki/*/*
include examples/*
@ -15,9 +14,11 @@ include test/*.py
include test/*/*.py
include test/ref/*
include test/ref/*/*
include test/ref/*/*/*
include test/ref/*/*/*/*
include test/overlay/fakemods/*.py
include test/overlay/fakemods/*/*.py
include test/overlay/fakemods/*/*/*/*.py
include test/overlay/fakemods/mmgen/*.py
include test/overlay/fakemods/mmgen/*/*.py
include test/overlay/fakemods/mmgen/*/*/*/*.py
include test/test-release.sh
include test/test-release.d/*.sh

View file

@ -236,16 +236,18 @@ done
shift $((OPTIND-1))
[ "$SDIST_TEST" -a -z "$MMGEN_TEST_RELEASE_IN_SDIST" ] && {
set -e
[ "$SDIST_TEST" -a -z "$TEST_RELEASE_IN_SDIST" ] && {
test_dir='.sdist-test'
rm -rf build dist MMGen.egg-info $test_dir
rm -rf build dist *.egg-info $test_dir
python3 -m build --no-isolation --sdist
mkdir $test_dir
tar -C $test_dir -axf dist/*.tar.gz
cd $test_dir/MMGen-*
cd $test_dir/mmgen-*
python3 setup.py build_ext --inplace
echo -e "\n${BLUE}Running 'test/test-release $ORIG_ARGS'$RESET $YELLOW[PWD=$PWD]$RESET\n"
export MMGEN_TEST_RELEASE_IN_SDIST=1
export TEST_RELEASE_IN_SDIST=1
test/test-release.sh $ORIG_ARGS
exit
}
@ -264,8 +266,6 @@ case $1 in
*) tests="$*" ;;
esac
set -e
rounds_min=$((rounds / 2))
for n in 2 5 10 20 50 100 200 500 1000; do
eval "rounds${n}x=$((rounds*n))"