mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 17:39:49 +03:00
Small change
This commit is contained in:
parent
9fee3079b5
commit
9fc985b3da
|
@ -54,11 +54,11 @@ if [[ $(uname -m) != 'arm64' ]]; then
|
||||||
fi
|
fi
|
||||||
cp ${wheeldir}/*.whl ${distdir}
|
cp ${wheeldir}/*.whl ${distdir}
|
||||||
|
|
||||||
|
# XXX: Move this code into a test script
|
||||||
|
if [[ $(uname -m) != 'arm64' ]]; then
|
||||||
# kill the libpq to make sure tests don't depend on it
|
# kill the libpq to make sure tests don't depend on it
|
||||||
mv "$LIBPQ" "${LIBPQ}-bye"
|
mv "$LIBPQ" "${LIBPQ}-bye"
|
||||||
|
|
||||||
# XXX: Move this code into a test script
|
|
||||||
if [[ $(uname -m) != 'arm64' ]]; then
|
|
||||||
# Install and test the built wheel
|
# Install and test the built wheel
|
||||||
pip install ${PACKAGE_NAME:-psycopg2} --no-index -f "$distdir"
|
pip install ${PACKAGE_NAME:-psycopg2} --no-index -f "$distdir"
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ if [[ $(uname -m) != 'arm64' ]]; then
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')"
|
python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')"
|
||||||
fi
|
|
||||||
|
|
||||||
# just because I'm a boy scout
|
# just because I'm a boy scout
|
||||||
mv "${LIBPQ}-bye" "$LIBPQ"
|
mv "${LIBPQ}-bye" "$LIBPQ"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user