diff options
author | Leonard Richardson <leonardr@segfault.org> | 2022-04-10 13:04:30 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2022-04-10 13:04:30 -0400 |
commit | bae2e2ca3565a75fcff1d2bc911f0a2e022761b4 (patch) | |
tree | 6f69bba696bbc08cc68c0d7d67721a7f04f365d3 /prepare-release.sh | |
parent | 0c75dd4a83674e840dd9ec3e34d974ec69070d0b (diff) |
Install more dependencies before running the pre-release tests.
Diffstat (limited to 'prepare-release.sh')
-rw-r--r-- | prepare-release.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/prepare-release.sh b/prepare-release.sh index f3ba517..29604a2 100644 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -26,7 +26,8 @@ python3 setup.py sdist bdist_wheel rm -rf ../py3-install-test-virtualenv virtualenv -p /usr/bin/python3 ../py3-install-test-virtualenv source ../py3-install-test-virtualenv/bin/activate -pip install dist/beautifulsoup4-*.whl +pip install dist/beautifulsoup4-*.whl lxml html5lib +pytest ../py3-install-test-virtualenv/lib/python3.8/site-packages/bs4/tests/ echo "EXPECT HTML ON LINE BELOW" (cd .. && python -c "from bs4 import _s; print(_s('<a>foo', 'html.parser'))") # That should print '<a>foo</a>' @@ -44,6 +45,7 @@ rm -rf ../py3-install-test-virtualenv virtualenv -p /usr/bin/python3 ../py3-install-test-virtualenv source ../py3-install-test-virtualenv/bin/activate pip install -i https://testpypi.python.org/pypi beautifulsoup4 --extra-index-url=https://pypi.python.org/pypi +pytest ../py3-install-test-virtualenv/lib/python3.8/site-packages/bs4/tests/ echo "EXPECT HTML ON LINE BELOW" (cd .. && python -c "from bs4 import _s; print(_s('<a>foo', 'html.parser'))") # That should print '<a>foo</a>' |