class documentation

Encapsulates behavior around writing entry point scripts for console and gui apps.

Class Method best Select the best ScriptWriter for this environment.
Class Method get_args Yield write_script() argument tuples for a distribution's console_scripts and gui_scripts entry points.
Class Method get_header Create a #! line, getting options (if any) from script_text
Class Method get_script_args Undocumented
Class Method get_script_header Undocumented
Class Method get_writer Undocumented
Class Variable template Undocumented
Class Method _get_script_args Undocumented
Static Method _ensure_safe_name Prevent paths in *_scripts entry point names.

Select the best ScriptWriter for this environment.

@classmethod
def get_args(cls, dist, header=None): (source)

Yield write_script() argument tuples for a distribution's console_scripts and gui_scripts entry points.

@classmethod
def get_header(cls, script_text='', executable=None): (source)

Create a #! line, getting options (if any) from script_text

@classmethod
def get_script_args(cls, dist, executable=None, wininst=False): (source)

Undocumented

@classmethod
def get_script_header(cls, script_text, executable=None, wininst=False): (source)

Undocumented

@classmethod
def get_writer(cls, force_windows): (source)
template = (source)

Undocumented

@classmethod
def _get_script_args(cls, type_, name, header, script_text): (source)
@staticmethod
def _ensure_safe_name(name): (source)

Prevent paths in *_scripts entry point names.