summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 17:03:16 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 17:03:16 -0500
commit50f872c78f8b894996f81176d5e03f4a6bbe8efd (patch)
tree16d6118b70cc9b171d733cba89b3ff81457b1c60
parent5b42f5cd27c9fec84f5932557c335f88eb769a05 (diff)
More script noodling.
-rw-r--r--README.txt8
-rwxr-xr-xconvert-py3k (renamed from convert-python3.2)11
-rw-r--r--setup.py2
3 files changed, 11 insertions, 10 deletions
diff --git a/README.txt b/README.txt
index 620eeaf..fb87497 100644
--- a/README.txt
+++ b/README.txt
@@ -209,9 +209,9 @@ Here's how to run the tests on Python 2.7:
Here's how to do it with Python 3.2:
- $ ./convert-python3.2
- $ cd python3.2/bs4
- $ python3.2 -m unittest discover -s bs4
+ $ ./convert-py3k
+ $ cd py3k/bs4
+ $ python3 -m unittest discover -s bs4
The script test-all-versions will run the tests twice, once on Python
-2.7 and once on Python 3.2.
+2.7 and once on Python 3.
diff --git a/convert-python3.2 b/convert-py3k
index cbd5559..4f79051 100755
--- a/convert-python3.2
+++ b/convert-py3k
@@ -4,12 +4,13 @@
# create a new python3/bs4 source tree that works under Python 3.
#
# See README.txt to see how to run the test suite after conversion.
-echo "About to destroy and rebuild the python3.2/bs4 directory."
+echo "About to destroy and rebuild the py3k/bs4 directory."
echo "If you've got stuff in there, Ctrl-C out of this script or answer 'n'."
-rm -rfI python3.2/bs4
-cp -r bs4 python3.2
-2to3-3.2 -w python3.2
+mkdir -p py3k
+rm -rfI py3k/bs4
+cp -r bs4/ py3k/
+2to3-3.2 -w py3k
echo ""
echo "OK, conversion is done."
echo "Now running the unit tests."
-(cd python3.2 && python3.2 -m unittest discover -s bs4) \ No newline at end of file
+(cd py3k && python3 -m unittest discover -s bs4) \ No newline at end of file
diff --git a/setup.py b/setup.py
index 6e27147..f8a72f9 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ except ImportError:
setup(name="BeautifulSoup",
- version="4.0b",
+ version="4.0b2",
author="Leonard Richardson",
url="http://www.crummy.com/software/BeautifulSoup/",
packages=['bs4', 'bs4.builder', 'bs4.tests'],