Orbits
1
|
Public Member Functions | |
def | __init__ |
def | get_manifest |
def | dry_run |
def | dry_run |
def | make |
def | make_multiple |
Public Attributes | |
source_dir | |
target_dir | |
add_launchers | |
force | |
clobber | |
set_mode | |
variants | |
Static Public Attributes | |
script_template = SCRIPT_TEMPLATE | |
executable = None | |
manifest = _DEFAULT_MANIFEST | |
Private Member Functions | |
def | _get_alternate_executable |
def | _get_shebang |
def | _get_script_text |
def | _write_script |
def | _make_script |
def | _copy_script |
def | _get_launcher |
Private Attributes | |
_fileop | |
A class to copy or create scripts from source scripts or callable specifications.
def pip._vendor.distlib.scripts.ScriptMaker.__init__ | ( | self, | |
source_dir, | |||
target_dir, | |||
add_launchers = True , |
|||
dry_run = False , |
|||
fileop = None |
|||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
def pip._vendor.distlib.scripts.ScriptMaker.dry_run | ( | self | ) |
def pip._vendor.distlib.scripts.ScriptMaker.dry_run | ( | self, | |
value | |||
) |
def pip._vendor.distlib.scripts.ScriptMaker.get_manifest | ( | self, | |
exename | |||
) |
def pip._vendor.distlib.scripts.ScriptMaker.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.
def pip._vendor.distlib.scripts.ScriptMaker.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,
|
private |
pip._vendor.distlib.scripts.ScriptMaker.add_launchers |
pip._vendor.distlib.scripts.ScriptMaker.clobber |
|
static |
pip._vendor.distlib.scripts.ScriptMaker.force |
|
static |
|
static |
pip._vendor.distlib.scripts.ScriptMaker.set_mode |
pip._vendor.distlib.scripts.ScriptMaker.source_dir |
pip._vendor.distlib.scripts.ScriptMaker.target_dir |
pip._vendor.distlib.scripts.ScriptMaker.variants |
Copyright 2014 Google Inc. All rights reserved.