scipion.install.funcs module¶
-
class
scipion.install.funcs.
Environment
(**kwargs)[source]¶ Bases:
object
-
addLibrary
(name, **kwargs)[source]¶ Add library <name> to the construction process.
Checks that the needed programs are in PATH, needed libraries can be found, downloads the given url, untars the resulting tar file, configures the library with the given flags, compiles it (in the given buildDir) and installs it.
If default=False, the library will not be built.
Returns the final targets, the ones that Make will create.
-
addPackage
(name, **kwargs)[source]¶ Download a package tgz, untar it and create a link in software/em. Params in kwargs:
tar: the package tar file, by default the name + .tgz. Pass None or VOID_TGZ if there is no tar file. commands: a list with actions to be executed to install the package
-
addPipModule
(name, version='', pipCmd=None, target=None, default=True, deps=[])[source]¶ Add a new module to our built Python . Params in kwargs:
name: pip module name version: module version - must be specified to prevent undesired updates. default: True if this module is build by default.
-
-
scipion.install.funcs.
black
(txt)¶
-
scipion.install.funcs.
blue
(txt)¶
-
scipion.install.funcs.
cyan
(txt)¶
-
scipion.install.funcs.
green
(txt)¶
-
scipion.install.funcs.
magenta
(txt)¶
-
scipion.install.funcs.
red
(txt)¶
-
scipion.install.funcs.
white
(txt)¶
-
scipion.install.funcs.
yellow
(txt)¶