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 | 73dbee5573f6b67e0996c3909f61cbdca7c24cea (patch) | |
tree | ad2b11efd4418024ad3e5e4e296b3e4fdbb3a33a /prepare-release.sh | |
parent | 245f6ee499c78bbc45c6bbeb225898392654f676 (diff) |
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 |