class documentation

Undocumented

Class Method best Select the best ScriptWriter suitable for Windows
Class Method get_writer Undocumented
Class Method _adjust_header Make sure 'pythonw' is used for gui and 'python' is used for console (regardless of what sys.executable is).
Class Method _get_script_args For Windows, add a .py extension
Static Method _use_header Should _adjust_header use the replaced header?

Inherited from ScriptWriter:

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 Variable template Undocumented
Static Method _ensure_safe_name Prevent paths in *_scripts entry point names.

Select the best ScriptWriter suitable for Windows

@classmethod
def _adjust_header(cls, type_, orig_header): (source)

Make sure 'pythonw' is used for gui and 'python' is used for console (regardless of what sys.executable is).

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

Should _adjust_header use the replaced header? On non-windows systems, always use. On Windows systems, only use the replaced header if it resolves to an executable on the system.