libtbx.env_config
index
/net/chevy/raid1/nat/src/cctbx_project/libtbx/env_config.py

 
Modules
       
libtbx
posixpath
os
pickle
platform
re
shutil
sys

 
Classes
       
__builtin__.object
common_setpaths
unix_setpaths
windows_setpaths
build_options
environment
include_registry
module
pre_process_args

 
class build_options
     Methods defined here:
__init__(self, compiler, mode, warning_level, static_libraries, static_exe, scan_boost, write_full_flex_fwd_h=False, build_boost_python_extensions=True, boost_python_no_py_signatures=False, boost_python_bool_int_strict=True, enable_openmp_if_possible=False, enable_cuda=False, opt_resources=False, precompile_headers=False, use_environment_flags=False, force_32bit=False, msvc_arch_flag='None', enable_cxx11=False, old_division=False)
get_flags_from_environment(self)
report(self, f=None)

Data and other attributes defined here:
supported_modes = ['release', 'max_optimized', 'quick', 'debug', 'debug_optimized', 'profile']

 
class common_setpaths(__builtin__.object)
     Methods defined here:
__init__(self, env, shell, suffix)
all_and_debug(self)
set_unset_vars(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class environment
     Methods defined here:
__init__(self, build_path)
add_repository(self, path)
as_relocatable_path(self, path)
assemble_pythonpath(self)
clear_bin_directory(self)
clear_scons_memory(self)
collect_test_scripts(self)
dispatcher_include(self, where)
dispatcher_precall_commands(self)
dist_path(self, module_name, default=<type 'exceptions.KeyError'>, return_relocatable_path=False)
dist_paths(self, return_relocatable_path=False)
find_dist_path(self, module_name, optional=False, return_relocatable_path=False)
find_in_repositories(self, relative_path, test=<function isdir>, optional=True, return_relocatable_path=False)
get_module(self, name, must_exist=True)
has_module(self, name)
is_development_environment(self)
is_ready_for_build(self)
ld_library_path_additions(self)
listdir_in_repositories(self, test=None)
manage_python_version_major_minor(self)
match_in_repositories(self, relative_path_pattern, test=<function isdir>, optional=True, must_be_unique=True)
opt_resources_ld_preload(self)
pickle(self)
process_args(self, pre_processed_args)
process_exe(self)
process_module(self, dependent_module, module_name, optional)
raise_not_found_in_repositories(self, message)
raise_python_version_incompatible(self, prev_pvmm=None)
read_command_version_suffix(self)
refresh(self)
register_module(self, dependent_module, module)
require_module(self, name, error=<type 'exceptions.RuntimeError'>)
reset_dispatcher_bookkeeping(self)
reset_dispatcher_support(self)
reset_module_registry(self)
set_derived_paths(self)
set_os_environ_all_dist(self)
show_build_options_and_module_listing(self)
show_module_listing(self)
under_build(self, path, return_relocatable_path=False)
under_dist(self, module_name, path, default=<type 'exceptions.KeyError'>, test=None, return_relocatable_path=False)
var_name_and_build_or_dist_path_pairs(self)
write_Makefile(self)
write_SConstruct(self)
write_bin_sh_dispatcher(self, source_file, target_file, source_is_python_exe=False)
write_command_version_duplicates(self)
write_command_version_suffix(self)
write_dispatcher(self, source_file, target_file, source_is_python_exe=False)
write_dispatcher_in_bin(self, source_file, target_file)
write_dispatcher_include_template(self)
write_lib_dispatcher_head(self, target_file='dispatcher_head.sh')
write_python_and_show_path_duplicates(self)
write_run_tests_csh(self)
write_setpath_files(self)
write_setpaths_bat(self, suffix)
write_setpaths_csh(self, suffix)
write_setpaths_sh(self, suffix)
write_win32_dispatcher(self, source_file, target_file, source_is_python_exe=False)

 
class include_registry
     Methods defined here:
__init__(self)
append(self, env, paths)
prepend(self, env, paths)
prepend_include_switch(self, env, path)
scan_boost(self, flag=False)
scan_flag(self, path)
set_boost_dir_name(self, path)

 
class module
     Methods defined here:
__init__(self, env, name, dist_path=None, mate_suffix='adaptbx')
assemble_pythonpath(self)
collect_test_scripts(self, file_names=['run_tests.py', 'run_examples.py'])
command_line_directory_paths(self)
dist_paths_active(self)
find_mate(self)
has_top_level_directory(self, directory_name)
is_version_controlled(self)
name_and_dist_path_pairs(self, all=False)
names_active(self)
names_for_module_listing(self)
process_command_line_directories(self)
process_dependencies(self)
process_libtbx_config(self)
process_libtbx_refresh_py(self)
process_python_command_line_scripts(self, source_dir, print_prefix=' ', target_file_name_infix='', scan_for_libtbx_set_dispatcher_name=False)
remove_obsolete_pyc_if_possible(self, pyc_file_names)
write_dispatcher(self, source_dir, file_name, suppress_warning, target_file_name_infix='', scan_for_libtbx_set_dispatcher_name=False)

 
class pre_process_args
     Methods defined here:
__init__(self, args, default_repositories=None)
option_repository(self, option, opt, value, parser)

 
class unix_setpaths(common_setpaths)
    
Method resolution order:
unix_setpaths
common_setpaths
__builtin__.object

Methods defined here:
__init__(self, env, shell, suffix)
path_script_value(self, path_obj)
setenv(self, var_name, val)
update_path(self, var_name, val, var_name_in=None)

Methods inherited from common_setpaths:
all_and_debug(self)
set_unset_vars(self)

Data descriptors inherited from common_setpaths:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class windows_setpaths(common_setpaths)
    
Method resolution order:
windows_setpaths
common_setpaths
__builtin__.object

Methods defined here:
__init__(self, env, suffix)
path_script_value(self, path_obj)
setenv(self, var_name, val)
update_path(self, var_name, val, var_name_in=None)

Methods inherited from common_setpaths:
all_and_debug(self)
set_unset_vars(self)

Data descriptors inherited from common_setpaths:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
StringIO(...)
StringIO([s]) -- Return a StringIO-like stream for reading or writing
bool_literal(b)
cold_start(args)
darwin_shlinkcom(env_etc, env, lo, dylib)
get_darwin_gcc_build_number(gcc='gcc')
get_gcc_version(command_name='gcc')
get_hostname()
get_hp_ux_acc_version()
get_ldd_output(target=None)
get_mipspro_version()
highlight_dispatcher_include_lines(lines)
is_64bit_architecture()
is_llvm_compiler(gcc='gcc')
ld_library_path_var_name()
open_info(path, mode='w', info=' ')
patch_windows_dispatcher(dispatcher_exe_file_name, binary_string, place_holder, actual_value)
python_include_path(must_exist=True)
raise_if_source_directory_suspected()
remove_or_rename(path)
set_preferred_sys_prefix_and_sys_executable(build_path)
source_specific_dispatcher_include(pattern, source_file)
unique_paths(paths)
unpickle()
warm_start(args)
write_do_not_edit(f, win_bat=False)

 
Data
        default_build_boost_python_extensions = True
default_enable_cuda = False
default_enable_cxx11 = False
default_enable_openmp_if_possible = False
default_msvc_arch_flag = 'None'
default_opt_resources = False
default_write_full_flex_fwd_h = False
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
exe_suffix = ''
qnew = ' -Qnew'