diff options
author | Leonard Richardson <leonardr@segfault.org> | 2015-07-03 11:25:17 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2015-07-03 11:25:17 -0400 |
commit | 1e39ce4c8644ea6e572a50246025f32ce560e539 (patch) | |
tree | 4cc861d9cf43fd183d6db3bfa6c9ba178937813a /prepare-release.sh | |
parent | 0e190ab46ad5ce39c2503ca4f9130b02388833b3 (diff) | |
download | beautifulsoup4-1e39ce4c8644ea6e572a50246025f32ce560e539.tar.gz |
Added instructions for final post-release test.
Diffstat (limited to 'prepare-release.sh')
-rw-r--r-- | prepare-release.sh | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/prepare-release.sh b/prepare-release.sh index d1956d8..48bff57 100644 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -105,7 +105,27 @@ echo "EXPECT HTML ON LINE BELOW" deactivate rm -rf ../py3-install-test-virtualenv +################ +To test, after release: +rm -rf ../py2-install-test-virtualenv +virtualenv -p /usr/bin/python2.7 ../py2-install-test-virtualenv +source ../py2-install-test-virtualenv/bin/activate +pip install beautifulsoup4 +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>' +deactivate +rm -rf ../py2-install-test-virtualenv -pip install -i https://testpypi.python.org/pypi beautifulsoup4 + +rm -rf ../py3-install-test-virtualenv +virtualenv -p /usr/bin/python3 ../py3-install-test-virtualenv +source ../py3-install-test-virtualenv/bin/activate +pip install beautifulsoup4 +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>' +deactivate +rm -rf ../py3-install-test-virtualenv |