BASIS utilities of BASIS package. More...
Go to the source code of this file.
Namespaces | |
namespace | basis |
Functions | |
def | basis::execute |
Execute command as subprocess. | |
def | basis::exedir |
Get directory of executable file. | |
def | basis::exename |
Get name of executable file. | |
def | basis::exepath |
Get absolute path of executable file. | |
def | basis::istarget |
Determine whether a given build target is known. | |
def | basis::print_contact |
Print contact information. | |
def | basis::print_version |
Print version information including copyright and license notices. | |
def | basis::targetuid |
Get UID of build target. | |
Variables | |
dictionary | basis::_EXECUTABLE_TARGETS |
tuple | basis::_path = os.getenv('BASIS_PYTHONPATH') |
string | basis::_TARGET_UID_PREFIX = 'basis' |
tuple | basis::_TARGETS_BASE = os.path.dirname(os.path.realpath(__file__)) |
tuple | basis::basis = imp.load_module('basis', _file, _filepath, _desc) |
basis::qsplit = utilities.qsplit | |
Split quoted string of arguments. | |
basis::SubprocessError = utilities.SubprocessError | |
Exception thrown when command execution failed. | |
basis::tostring = utilities.tostring | |
Convert array of arguments to quoted string. | |
tuple | basis::utilities = imp.load_module('basis.utilities', _file, _filepath, _desc) |
Detailed Description
BASIS utilities of BASIS package.
- Note:
- The basis.py module was automatically created by BASIS from the template file basis.py.in which is part of the BASIS installation.
This module defines BASIS Utilities for Python for the BASIS package, i.e., some functions such as print_version() are customized and hence particular to this software package.
Only this module should be imported in scripts and modules of the BASIS package. For use of these utility functions outside a particular BASIS-based project, use the project-independent utilities defined by the sbia.basis.utilities module instead.
Copyright (c) 2011, 2012, 2013 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
Contact: SBIA Group <sbia-software at uphs.upenn.edu>
Definition in file basis.py.