Skip to content

Commit f7a39b2

Browse files
committed
build now uses the module name
1 parent 0ad6983 commit f7a39b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

release-test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pushd src/${package}
6666
pip install -rtest-requirements.txt build
6767
make dist
6868
make test
69-
cp dist/${package}*tar.gz ../../../testenv3/
69+
cp dist/${module}*tar.gz ../../../testenv3/
7070
cp dist/${module}*whl ../../../testenv4/
7171
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
7272
popd # ../.. no subdir named ${proj} here, safe for py.testing the installed module
@@ -83,12 +83,12 @@ source bin/activate
8383
rm -f lib/python-wheels/setuptools* \
8484
&& pip install --force-reinstall -U pip==${pipver} \
8585
&& pip install setuptools==${setuptoolsver} wheel
86-
package_tar=$(find . -name "${package}*tar.gz")
86+
package_tar=$(find . -name "${module}*tar.gz")
8787
pip install "-r${DIR}/test-requirements.txt" build
8888
pip install "${package_tar}${extras}"
8989
mkdir out
90-
tar --extract --directory=out -z -f ${package}*.tar.gz
91-
pushd out/${package}*
90+
tar --extract --directory=out -z -f ${module}*.tar.gz
91+
pushd out/${module}*
9292
make dist
9393
make test
9494
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install

0 commit comments

Comments
 (0)