2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Some commentary.

[SVN r29154]
This commit is contained in:
Vladimir Prus
2005-05-23 06:35:28 +00:00
parent d8a85aca97
commit 63a403d05c

View File

@@ -39,6 +39,24 @@ import toolset : flags ;
project.initialize $(__name__) ;
project python ;
# Initializes the Python toolset.
# - version -- the version of Python to use. Should be in Major.Minor format,
# for example 2.3
# - 'root' -- the install root for Python
# - 'includes' -- the include path to Python headers. If empty, will be
# guessed from 'root'
# - 'libraries' -- the path to Python libraries. If empty, will be guessed
# from 'root'
# - 'cygwin-condition' -- if specified, should be a set of properties which
# are present when we're building with cygwin gcc.
# This argument is not used yet.
#
# Example usage:
#
# using python 2.3 ; # Use default root
# using python 2.3 : /usr/local ; # Root specified, include and lib paths
# # will be guessed
#
rule init ( version ? : root ? : includes ? : libraries ? : cygwin-condition ? )
{
.configured = true ;
@@ -341,7 +359,7 @@ IMPORT python : python-extension : : python-extension ;
# Support for testing
type.register PY : py ;
type.register RUN_PYD_OUTPUT ;
type.set-generated-target-suffix RUN_PYD : : run ;
#type.set-generated-target-suffix RUN_PYD : : run ;
type.register RUN_PYD : : TEST ;
class python-test-generator : generator