summaryrefslogtreecommitdiff
path: root/pavement.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2010-09-04 10:10:42 +0000
committerrgommers <ralf.gommers@googlemail.com>2010-09-04 10:10:42 +0000
commit3c3d4238d866989216b1a1deda744d3923a7acc0 (patch)
tree90c4ac63a0c739d7de3425411786afa7b88093d1 /pavement.py
parent7843154a930459c5dd85e1e8a4762fe99620ec4f (diff)
downloadnumpy-3c3d4238d866989216b1a1deda744d3923a7acc0.tar.gz
REL: Apply changes to release notes and paver script in 1.5.x branch to trunk.
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/pavement.py b/pavement.py
index 47076cc19..5bef2253b 100644
--- a/pavement.py
+++ b/pavement.py
@@ -106,7 +106,9 @@ options(bootstrap=Bunch(bootstrap_dir="bootstrap"),
MPKG_PYTHON = {
"2.5": ["/Library/Frameworks/Python.framework/Versions/2.5/bin/python"],
- "2.6": ["/Library/Frameworks/Python.framework/Versions/2.6/bin/python"]
+ "2.6": ["/Library/Frameworks/Python.framework/Versions/2.6/bin/python"],
+ "2.7": ["/Library/Frameworks/Python.framework/Versions/2.7/bin/python"],
+ "3.1": ["/Library/Frameworks/Python.framework/Versions/3.1/bin/python3"],
}
SSE3_CFG = {'ATLAS': r'C:\local\lib\yop\sse3'}
@@ -117,6 +119,8 @@ SITECFG = {"sse2" : SSE2_CFG, "sse3" : SSE3_CFG, "nosse" : NOSSE_CFG}
if sys.platform =="darwin":
WINDOWS_PYTHON = {
+ "3.1": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python31/python.exe"],
+ "2.7": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python27/python.exe"],
"2.6": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python26/python.exe"],
"2.5": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python25/python.exe"]
}
@@ -125,6 +129,8 @@ if sys.platform =="darwin":
MAKENSIS = ["wine", "makensis"]
elif sys.platform == "win32":
WINDOWS_PYTHON = {
+ "3.1": ["C:\Python31\python3.exe"],
+ "2.7": ["C:\Python27\python.exe"],
"2.6": ["C:\Python26\python.exe"],
"2.5": ["C:\Python25\python.exe"],
}
@@ -134,6 +140,8 @@ elif sys.platform == "win32":
MAKENSIS = ["makensis"]
else:
WINDOWS_PYTHON = {
+ "3.1": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python31/python.exe"],
+ "2.7": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python27/python.exe"],
"2.6": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python26/python.exe"],
"2.5": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python25/python.exe"]
}
@@ -194,7 +202,7 @@ def bdist_superpack(options):
pyver = options.python_version
def copy_bdist(arch):
# Copy the wininst in dist into the release directory
- if pyver[0] >= 3:
+ if int(pyver[0]) >= 3:
source = os.path.join('build', 'py3k', 'dist', wininst_name(pyver))
else:
source = os.path.join('dist', wininst_name(pyver))