2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 11:19:52 +01:00

More docs

This commit is contained in:
Thomas Nagy 2016-07-16 17:18:16 +02:00
parent eab577a179
commit f01c60d061
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -2,13 +2,9 @@
=== Obtaining the Waf file === Obtaining the Waf file
==== Requirements
The current Waf version requires an interpreter for the Python programming language such as http://www.python.org[cPython] 2.5 to 3.5, http://pypy.org[Pypy] or http://www.jython.org[Jython] >= 2.5.
==== Running the Waf binary script ==== Running the Waf binary script
The Waf file is a python script which may be executed directly from a writable folder; no installation is required. Just rename it as +waf+ if necessary: A Python programming language interpreter such as http://www.python.org[cPython] 2.5 to 3.5, http://pypy.org[Pypy] or http://www.jython.org[Jython] >= 2.5 is required to run Waf. The file may be renamed as *waf* is necessary:
[source,shishell] [source,shishell]
--------------- ---------------
@ -26,7 +22,9 @@ $ ls -ld .waf*
.waf-{version}-2c924e3f453eb715218b9cc852291170 .waf-{version}-2c924e3f453eb715218b9cc852291170
--------------- ---------------
NOTE: The binary file requires http://docs.python.org/library/bz2.html[bzip2] compression support, which may be unavailable in some self-compiled cPython installations. No installation is necessary, but the folder containing the Waf file must be writable. If this is not possible, use the instructions in the next section to point a *WAFDIR* environment variable.
If http://docs.python.org/library/bz2.html[bzip2] compression support is missing in the python interpreter, please use the instructions in the next sections to build Waf from source.
==== Building Waf from source ==== Building Waf from source