OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | get_script_args (cls, dist, executable=None, wininst=False) |
def | get_script_header (cls, script_text, executable=None, wininst=False) |
def | get_args (cls, dist, header=None) |
def | get_writer (cls, force_windows) |
def | best (cls) |
def | get_header (cls, script_text="", executable=None) |
Static Public Attributes | |
template | |
command_spec_class | |
Encapsulates behavior around writing entry point scripts for console and gui apps.
def best | ( | cls | ) |
Select the best ScriptWriter for this environment.
Reimplemented in WindowsScriptWriter.
def get_args | ( | cls, | |
dist, | |||
header = None |
|||
) |
Yield write_script() argument tuples for a distribution's console_scripts and gui_scripts entry points.
def get_header | ( | cls, | |
script_text = "" , |
|||
executable = None |
|||
) |
Create a #! line, getting options (if any) from script_text
def get_script_args | ( | cls, | |
dist, | |||
executable = None , |
|||
wininst = False |
|||
) |
def get_script_header | ( | cls, | |
script_text, | |||
executable = None , |
|||
wininst = False |
|||
) |
def get_writer | ( | cls, | |
force_windows | |||
) |
|
static |
|
static |