Reference guide#

Class Inheritance diagram#

openalea.sconsx.config module#

Download the source file ../src/openalea/sconsx/config.py.

See OpenAlea WebSite / Packages / SConsX

exception ToolNotFound[source]#

Bases: UserWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception CircularDependency[source]#

Bases: Exception

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

import_tool(name, import_dir)[source]#

Import a module based on its name from a list of directories.

exist(s, path)[source]#

Test if the file s exist in the path

getLocalPath()[source]#

Return the absolute path of this package

BisonFlex(env, bison, flex, prefix)[source]#

Smart autoscan function.

class Platform[source]#

Bases: object

class Posix[source]#

Bases: Platform

class Linux[source]#

Bases: Posix

distribution()[source]#
class Irix[source]#

Bases: Posix

class Cygwin[source]#

Bases: Posix

class Darwin[source]#

Bases: Posix

class Win32[source]#

Bases: Platform

GetPlatform()[source]#

Factory function returning the correct platform instance.

class Config(tools=[], dir=[])[source]#

Bases: object

add_tool(tool)[source]#

Add a specific tool and its dependencies recursively in the tool set. Check the circular dependencies.

find_tool(toolname)[source]#

Search for a specific tool

Options(*args, **kwds)[source]#

Add each tool options

UpdateOptions(opts)[source]#
Configure(env)[source]#

Configure each tools

Update(env)[source]#

Update the environment for each tools.

class ALEAConfig(package_name, *args, **kwds)[source]#

Bases: Config

Update(env)[source]#

Update the environment for each tools.

Configure(env)#

Configure each tools

Options(*args, **kwds)#

Add each tool options

UpdateOptions(opts)#
add_tool(tool)#

Add a specific tool and its dependencies recursively in the tool set. Check the circular dependencies.

find_tool(toolname)#

Search for a specific tool

ALEAEnvironment(conf, *args, **kwds)[source]#
ALEASolution(options, tools=[], dir=[])[source]#

openalea.sconsx.environ module#

Download the source file ../src/openalea/sconsx/environ.py.

This module add some facilities to simplify the SConscript files to the minimum. It contains wrapper functions that extend the SCons environment and abstract the operating system.

Each function defines or populate global aliases like build or install.

ALEALibrary(env, target, source, *args, **kwds)[source]#

Build static or dynamic library depending on user flags. Install the build library and associated files in specific directories. Define ‘build’ and ‘install’ target.

ALEAIncludes(env, target, includes, *args, **kwds)[source]#

Install the headers in the directory …/include/mypackage Define ‘build’ and ‘install’ target.

ALEAProgram(env, target, source, *args, **kwds)[source]#

Build a program and install it in local and system directories.

ALEAWrapper(env, python_dir, target, source, *args, **kwds)[source]#

Build a python wrapper and install it in a python package.

ALEAGlob(env, pattern, dir='.')[source]#
ALEAGlobDir(env, pattern, dir='.')[source]#

openalea.sconsx.lex module#

Download the source file ../src/openalea/sconsx/lex.py.

SCons.Tool.lex

Tool-specific initialization for lex.

There normally shouldn’t be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method.

generate(env)[source]#

Add Builders and construction variables for lex to an Environment.

exists(env)[source]#

openalea.sconsx.qt4 module#

Download the source file ../src/openalea/sconsx/qt4.py.

SCons.Tool.qt

Tool-specific initialization for Qt.

There normally shouldn’t be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method.

exception ToolQtWarning[source]#

Bases: SConsWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception GeneratedMocFileNotIncluded[source]#

Bases: ToolQtWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception QtdirNotFound[source]#

Bases: ToolQtWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

checkMocIncluded(target, source, env)[source]#
find_file(filename, paths, node_factory)[source]#
generate(env)[source]#

Add Builders and construction variables for qt to an Environment.

enable_modules(self, modules, debug=False, suffix='')[source]#
exists(env)[source]#

openalea.sconsx.qt5 module#

Download the source file ../src/openalea/sconsx/qt5.py.

SCons.Tool.qt

Tool-specific initialization for Qt.

There normally shouldn’t be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method.

exception ToolQtWarning[source]#

Bases: SConsWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception GeneratedMocFileNotIncluded[source]#

Bases: ToolQtWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception QtdirNotFound[source]#

Bases: ToolQtWarning

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

checkMocIncluded(target, source, env)[source]#
find_file(filename, paths, node_factory)[source]#
generate(env)[source]#

Add Builders and construction variables for qt to an Environment.

enable_modules(self, modules, debug=False, suffix='')[source]#
exists(env)[source]#

openalea.sconsx.tools.alea module#

Download the source file ../src/openalea/sconsx/tools/alea.py.

OpenAlea configure environment.

class Alea(config)[source]#

Bases: object

default()[source]#

Set default tool values

option(opts)[source]#

Add scons options to opts

update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create alea tool

openalea.sconsx.tools.bison module#

Download the source file ../src/openalea/sconsx/tools/bison.py.

Bison configure environment.

get_bison_version(bisonpath)[source]#
class Bison(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create bison tool

openalea.sconsx.tools.boost_python module#

Download the source file ../src/openalea/sconsx/tools/boost_python.py.

Boost.Python configure environment.

class Boost_Python(config)[source]#

Bases: BoostBase

depends()[source]#
get_default_flags()[source]#
get_default_defines()[source]#
configure(config)[source]#
default()#
option(opts)#
update(env)#

Update the environment with specific flags

create(config)[source]#

Create boost tool

openalea.sconsx.tools.builddir module#

Download the source file ../src/openalea/sconsx/tools/builddir.py.

Build directory configure environment.

class BuildDir(config)[source]#

Bases: object

Define Variant Dir options for putting build files outside the source tree.

Pluggin definition.

default()[source]#

Set the default directory values for build_prefix.

option(opts)[source]#

Define user options to redefine the default values.

update(env)[source]#

Update the environment with specific flags.

configure(config)[source]#

Configure code needs to go here.

create(config)[source]#

Create builddir tool.

openalea.sconsx.tools.cgal module#

Download the source file ../src/openalea/sconsx/tools/cgal.py.

CGAL configure environment.

class CGAL(config)[source]#

Bases: object

depends()[source]#
default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create cgal tool

openalea.sconsx.tools.compiler module#

Download the source file ../src/openalea/sconsx/tools/compiler.py.

Build directory configure environment.

get_default_msvc()[source]#
class Compiler(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create compiler tool

openalea.sconsx.tools.egglib module#

Download the source file ../src/openalea/sconsx/tools/egglib.py.

OpenAlea configure environment.

class EggLib(name, config)[source]#

Bases: object

default()[source]#

Set default tool values

option(opts)[source]#

Add scons options to opts

update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(name, config)[source]#

openalea.sconsx.tools.flex module#

Download the source file ../src/openalea/sconsx/tools/flex.py.

Flex configure environment.

class Flex(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create flex tool

openalea.sconsx.tools.gcc module#

Download the source file ../src/openalea/sconsx/tools/gcc.py.

Gcc configure environment.

class Gcc(config)[source]#

Bases: object

option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create gcc tool

openalea.sconsx.tools.gmp module#

Download the source file ../src/openalea/sconsx/tools/gmp.py.

GMP configure environment.

class GMP(config)[source]#

Bases: object

depends()[source]#
default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create gmp tool

openalea.sconsx.tools.gnuplot module#

Download the source file ../src/openalea/sconsx/tools/gnuplot.py.

Gnuplot configure environment.

class Gnuplot(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create gnuplot tool

openalea.sconsx.tools.install module#

Download the source file ../src/openalea/sconsx/tools/install.py.

Install configure environment.

class Install(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create install tool

openalea.sconsx.tools.mingw module#

Download the source file ../src/openalea/sconsx/tools/mingw.py.

MinGW configure environment.

class MinGW(config)[source]#

Bases: object

option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create mingw tool

openalea.sconsx.tools.msvc module#

Download the source file ../src/openalea/sconsx/tools/msvc.py.

Visual Studio C++ configure environment.

class Msvc(config)[source]#

Bases: object

option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create msvc tool

openalea.sconsx.tools.multicpu module#

Download the source file ../src/openalea/sconsx/tools/multicpu.py.

QHull configure environment.

class MultiCPU(config)[source]#

Bases: object

option(opts)[source]#

Add Options to opts

update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

openalea.sconsx.tools.opengl module#

Download the source file ../src/openalea/sconsx/tools/opengl.py.

OpenGL configure environment.

class OpenGL(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create opengl tool

openalea.sconsx.tools.pthread module#

Download the source file ../src/openalea/sconsx/tools/pthread.py.

Pthread configure environment.

class Pthread(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create pthread tool

openalea.sconsx.tools.python module#

Download the source file ../src/openalea/sconsx/tools/python.py.

Python configure environment.

class Python(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create python tool

openalea.sconsx.tools.qhull module#

Download the source file ../src/openalea/sconsx/tools/qhull.py.

QHull configure environment.

class Qhull(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create qhull tool

openalea.sconsx.tools.qt module#

Download the source file ../src/openalea/sconsx/tools/qt.py.

QT configure environment.

class QT(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create qt tool

openalea.sconsx.tools.qt4 module#

Download the source file ../src/openalea/sconsx/tools/qt4.py.

QT4 configure environment.

class QT(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#

Update the environment with specific flags

configure(config)[source]#
create(config)[source]#

Create qt tool

openalea.sconsx.tools.readline module#

Download the source file ../src/openalea/sconsx/tools/readline.py.

Readline configure environment.

class Readline(config)[source]#

Bases: object

depends()[source]#
default()[source]#
option(opts)[source]#
update(env)[source]#
configure(config)[source]#
create(config)[source]#

Create readline tool

openalea.sconsx.tools.termcap module#

Download the source file ../src/openalea/sconsx/tools/termcap.py.

Termcap configure environment.

class Termcap(config)[source]#

Bases: object

default()[source]#
option(opts)[source]#
update(env)[source]#
configure(config)[source]#
create(config)[source]#

Create termcap tool

openalea.sconsx.yacc module#

Download the source file ../src/openalea/sconsx/yacc.py.

SCons.Tool.yacc

Tool-specific initialization for yacc.

There normally shouldn’t be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method.

yEmitter(target, source, env)[source]#
yyEmitter(target, source, env)[source]#
generate(env)[source]#

Add Builders and construction variables for yacc to an Environment.

exists(env)[source]#