Orbits
1
|
Classes | |
class | easy_install |
class | PthDistributions |
class | ScriptWriter |
class | WindowsScriptWriter |
class | WindowsExecutableLauncherWriter |
Functions | |
def | is_64bit |
def | samefile |
def | _to_ascii |
def | isascii |
def | get_site_dirs |
def | expand_paths |
def | extract_wininst_cfg |
def | get_exe_prefixes |
def | parse_requirement_arg |
def | _first_line_re |
def | get_script_header |
def | auto_chmod |
def | uncache_zipdir |
def | _uncache |
def | is_python |
def | is_sh |
def | nt_quote_arg |
def | is_python_script |
def | _chmod |
def | chmod |
def | fix_jython_executable |
def | get_win_launcher |
def | load_launcher_manifest |
def | rmtree |
def | current_umask |
def | bootstrap |
def | main |
Variables | |
tuple | sys_executable |
list | __all__ |
get_script_args = ScriptWriter.get_script_args | |
|
private |
|
private |
Return a regular expression based on first_line_re suitable for matching strings.
|
private |
|
private |
def setuptools.command.easy_install.auto_chmod | ( | func, | |
arg, | |||
exc | |||
) |
def setuptools.command.easy_install.bootstrap | ( | ) |
def setuptools.command.easy_install.chmod | ( | path, | |
mode | |||
) |
def setuptools.command.easy_install.current_umask | ( | ) |
def setuptools.command.easy_install.expand_paths | ( | inputs | ) |
Yield sys.path directories that might contain "old-style" packages
def setuptools.command.easy_install.extract_wininst_cfg | ( | dist_filename | ) |
Extract configuration data from a bdist_wininst .exe Returns a ConfigParser.RawConfigParser, or None
def setuptools.command.easy_install.fix_jython_executable | ( | executable, | |
options | |||
) |
def setuptools.command.easy_install.get_exe_prefixes | ( | exe_filename | ) |
Get exe->egg path translations for a given .exe file
def setuptools.command.easy_install.get_script_header | ( | script_text, | |
executable = sys_executable , |
|||
wininst = False |
|||
) |
Create a #! line, getting options (if any) from script_text
def setuptools.command.easy_install.get_site_dirs | ( | ) |
def setuptools.command.easy_install.get_win_launcher | ( | type | ) |
Load the Windows launcher (executable) suitable for launching a script. `type` should be either 'cli' or 'gui' Returns the executable as a byte string.
def setuptools.command.easy_install.is_64bit | ( | ) |
def setuptools.command.easy_install.is_python | ( | text, | |
filename = '<string>' |
|||
) |
def setuptools.command.easy_install.is_python_script | ( | script_text, | |
filename | |||
) |
Is this text, as a whole, a Python script? (as opposed to shell/bat/etc.
def setuptools.command.easy_install.is_sh | ( | executable | ) |
Determine if the specified executable is a .sh (contains a #! line)
def setuptools.command.easy_install.isascii | ( | s | ) |
def setuptools.command.easy_install.load_launcher_manifest | ( | name | ) |
def setuptools.command.easy_install.main | ( | argv = None , |
|
kw | |||
) |
def setuptools.command.easy_install.nt_quote_arg | ( | arg | ) |
Quote a command line argument according to Windows parsing rules
def setuptools.command.easy_install.parse_requirement_arg | ( | spec | ) |
def setuptools.command.easy_install.rmtree | ( | path, | |
ignore_errors = False , |
|||
onerror = auto_chmod |
|||
) |
Recursively delete a directory tree. This code is taken from the Python 2.4 version of 'shutil', because the 2.3 version doesn't really work right.
def setuptools.command.easy_install.samefile | ( | p1, | |
p2 | |||
) |
def setuptools.command.easy_install.uncache_zipdir | ( | path | ) |
Remove any globally cached zip file related data for `path` Stale zipimport.zipimporter objects need to be removed when a zip file is replaced as they contain cached zip file directory information. If they are asked to get data from their zip file, they will use that cached information to calculate the data location in the zip file. This calculated location may be incorrect for the replaced zip file, which may in turn cause the read operation to either fail or return incorrect data. Note we have no way to clear any local caches from here. That is left up to whomever is in charge of maintaining that cache.
list setuptools.command.easy_install.__all__ |
setuptools.command.easy_install.get_script_args = ScriptWriter.get_script_args |
tuple setuptools.command.easy_install.sys_executable |
Copyright 2014 Google Inc. All rights reserved.