summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortarek <none@none>2009-10-08 19:54:27 +0200
committertarek <none@none>2009-10-08 19:54:27 +0200
commit48655c2b41138dd4efe483e78931f53d3d6f928d (patch)
treece5e5ff13c685141edba036fac1e11cf55e87629
parent93ec26e2fde1f0a28c5ada2ee9a5323dd92de5c7 (diff)
downloadpython-setuptools-git-48655c2b41138dd4efe483e78931f53d3d6f928d.tar.gz
added distribute_setup_3k.py generation
--HG-- branch : distribute extra : rebase_source : ce029e2f6fd53b2f279698637acb4a7de52be76d
-rw-r--r--CHANGES.txt1
-rwxr-xr-xREADME.txt4
-rwxr-xr-xrelease.sh6
3 files changed, 10 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index d59d26ef..af020552 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ CHANGES
0.6.4
-----
+* Added the generation of distribute_setup_3k.py during the release.
-----
diff --git a/README.txt b/README.txt
index d130cf90..d3dcf5fe 100755
--- a/README.txt
+++ b/README.txt
@@ -74,7 +74,7 @@ distribute_setup.py
===================
Download ``distribute_setup.py`` and execute it, using the Python interpreter of
-your choice.
+your choice.
If your shell has the ``wget`` program you can do::
@@ -86,6 +86,8 @@ If you are under Python 3, use ``distribute_setup_3k.py``::
$ wget http://nightly.ziade.org/distribute_setup_3k.py
$ python distribute_setup_3k.py
+Notice that both files are provided in the source release.
+
easy_install or pip
===================
diff --git a/release.sh b/release.sh
index 555499ef..e0550535 100755
--- a/release.sh
+++ b/release.sh
@@ -1,6 +1,12 @@
#!/bin/sh
export VERSION="0.6.4"
+# creating the 3k script
+cp distribute_setup.py distribute_setup.py.back
+2to3 -w distribute_setup.py > /dev/null
+mv distribute_setup.py distribute_setup_3k.py
+mv distribute_setup.py.back distribute_setup.py
+
# creating the releases
rm -rf dist