Differences between revisions 2 and 3
Revision 2 as of 2009-02-04 03:13:43
Size: 1303
Editor: DanShumow
Comment:
Revision 3 as of 2009-02-04 03:16:52
Size: 1335
Editor: DanShumow
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
 All the packages get installed by default to [[%ProgramFiles%\GnuWin32\]], and the .exe files reside in [[%ProgramFiles%\GnuWin32\bin\]]  All the packages get installed by default to ''''''%ProgramFiles%\GnuWin32\'''''', and the .exe files reside in ''''''%ProgramFiles%\GnuWin32\bin\''''''
Line 18: Line 18:
  Make a file named something like [[%USERPROFILE%\my_sage_env.cmd]].   Make a file named something like ''''''%USERPROFILE%\my_sage_env.cmd''''''.
Line 27: Line 27:
  Make a shortcut to [[%SystemRoot%\System32\cmd.exe]]. Then right click, select properties and on the Shortcut Tab, edit the Target field to:   Make a shortcut to ''''''%SystemRoot%\System32\cmd.exe''''''. Then right click, select properties and on the Shortcut Tab, edit the Target field to:

Preliminaries for Building Python / Sage on Windows

This wiki is a repository for my notes on software / scripts I needed or used to get Python/Sage building under windows.

Compiler / Development Environment

1. Microsoft Visual Studio 2008

Other stuff

1. GnuWin32

  • To get access to gzip/tar, I downloaded those packages. You can also just download all the packages.

    All the packages get installed by default to %ProgramFiles%\GnuWin32\, and the .exe files reside in %ProgramFiles%\GnuWin32\bin\

1. Subversion Client

1. Set up some scripts to help yourself.

  • Make a windows shell script to setup your environment.

    Make a file named something like %USERPROFILE%\my_sage_env.cmd. A good one to get started is something like:

echo off
cls
echo "Running CMD w/ special environment variables set..."
set PATH=%PATH%;%ProgramFiles%\GnuWin32\bin;%ProgramFiles%\CollabNet Subversion Client
echo on
  • Make a shortcut to %SystemRoot%\System32\cmd.exe. Then right click, select properties and on the Shortcut Tab, edit the Target field to:

D:\Windows\System32\cmd.exe /K %USERPROFILE%\my_sage_env.cmd