Obtaining the latest source code

Waf is hosted on Google code, and uses Subversion for source control. To obtain the development copy, use:

svn checkout http://waf.googlecode.com/svn/trunk/ waf-read-only
cd waf-read-only
./waf-light --make-waf
		

To avoid regenerating Waf each time, the environment variable WAFDIR can be used to point to the directory containing wafadmin:

export WAFDIR=/path/to/wafadmin
		

Although the Waf binary depends on Python 2.3, the Waf source code depends on Python 2.4. When generating Waf, a parser modifies the source code and performs the following operations: