|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, source_dir, target_dir, add_launchers=True, dry_run=False, fileop=None) |
| def | get_manifest (self, exename) |
| def | dry_run (self) |
| def | dry_run (self, value) |
| def | make (self, specification, options=None) |
| def | make_multiple (self, specifications, options=None) |
Data Fields | |
| source_dir | |
| target_dir | |
| add_launchers | |
| force | |
| clobber | |
| set_mode | |
| variants | |
| version_info | |
Static Public Attributes | |
| script_template | |
| executable | |
| manifest | |
A class to copy or create scripts from source scripts or callable specifications.
| def __init__ | ( | self, | |
| source_dir, | |||
| target_dir, | |||
add_launchers = True, |
|||
dry_run = False, |
|||
fileop = None |
|||
| ) |
| def dry_run | ( | self | ) |
| def dry_run | ( | self, | |
| value | |||
| ) |
| def get_manifest | ( | self, | |
| exename | |||
| ) |
| def make | ( | self, | |
| specification, | |||
options = None |
|||
| ) |
Make a script.
:param specification: The specification, which is either a valid export
entry specification (to make a script from a
callable) or a filename (to make a script by
copying from a source location).
:param options: A dictionary of options controlling script generation.
:return: A list of all absolute pathnames written to.
Reimplemented in PipScriptMaker.
| def make_multiple | ( | self, | |
| specifications, | |||
options = None |
|||
| ) |
Take a list of specifications and make scripts from them, :param specifications: A list of specifications. :return: A list of all absolute pathnames written to,
| add_launchers |
| clobber |
|
static |
| force |
|
static |
|
static |
| set_mode |
| source_dir |
| target_dir |
| variants |
| version_info |