source: MGET/Branches/Jason/PythonPackage/Build_Win32_py27.cmd @ 1025

Revision 1025, 1.6 KB checked in by jjr8, 5 years ago (diff)
  • Incremented build number
  • Added support for Python 2.7 (this has not been tested yet!)
  • Upgraded MGET's internal copy of GDAL to 1.9.1
  • Added support for numpy 1.6.2
  • Upgraded MGET's internal copy of numpy to 1.6.2 on Python 2.5, 2.6, 2.7
  • Upgraded MGET's internal copy of lxml to 2.2.8
Line 
1@echo off
2
3rem ****************************************************************************
4rem If we have already set our environment variables, skip straight to building.
5rem ****************************************************************************
6
7if defined GeoEcoCompiler goto Build
8
9rem ****************************************************************************
10rem First try to set the Visual Studio .NET 2008 environment variables.
11rem ****************************************************************************
12
13if not defined VS90COMNTOOLS goto VSNotInstalled
14if not exist "%VS90COMNTOOLS%\vsvars32.bat" goto VSNotInstalled
15if defined VSINSTALLDIR goto Build
16
17set GeoEcoCompiler=VisualStudio
18
19call "%VS90COMNTOOLS%\vsvars32.bat"
20
21goto Build
22
23rem ****************************************************************************
24rem Visual Studio .NET 2003 does not appear to be installed. Set the environment
25rem variables for the Platform and .NET Framework SDKs.
26rem ****************************************************************************
27
28:VSNotInstalled
29
30echo Visual Studio .NET 2008 does not appear to be installed.
31echo Cannot build GeoEco for Python 2.7 without VS .NET 2008.
32goto Done
33
34rem ****************************************************************************
35rem Build the installation package by running setup.py.
36rem ****************************************************************************
37
38:Build
39
40cmd.exe /C c:\python27\python.exe setup.py bdist_wininst --pre-install-script=build\src\GeoEcoPreInstall.py --install-script=GeoEcoPostInstall.py --bitmap SetupLogo.bmp %1 %2 %3 %4 %5 %6 %7 %8 %9
41
42:Done
Note: See TracBrowser for help on using the repository browser.