PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
wheel
""" Installation paths. Map the .data/ subdirectory names to install paths. """ import os.path import sys import distutils.dist as dist import distutils.command.install as install def get_install_command(name): # late binding due to potential monkeypatching d = dist.Distribution({'name':name}) i = install.install(d) i.finalize_options() return i def get_install_paths(name): """ Return the (distutils) install paths for the named dist. A dict with ('purelib', 'platlib', 'headers', 'scripts', 'data') keys. """ paths = {} i = get_install_command(name) for key in install.SCHEME_KEYS: paths[key] = getattr(i, 'install_' + key) # pip uses a similar path as an alternative to the system's (read-only) # include directory: if hasattr(sys, 'real_prefix'): # virtualenv paths['headers'] = os.path.join(sys.prefix, 'include', 'site', 'python' + sys.version[:3], name) return paths
[-] wininst2wheel.py
[edit]
[-] metadata.pyc
[edit]
[-] pep425tags.py
[edit]
[+]
..
[-] bdist_wheel.py
[edit]
[-] decorator.pyc
[edit]
[+]
signatures
[-] bdist_wheel.pyc
[edit]
[-] __init__.pyc
[edit]
[-] util.py
[edit]
[-] paths.py
[edit]
[-] __main__.py
[edit]
[-] __main__.pyc
[edit]
[-] egg2wheel.pyc
[edit]
[-] install.py
[edit]
[-] eggnames.txt
[edit]
[-] pkginfo.py
[edit]
[-] archive.pyc
[edit]
[-] wininst2wheel.pyc
[edit]
[-] archive.py
[edit]
[-] pep425tags.pyc
[edit]
[-] install.pyc
[edit]
[+]
tool
[-] __init__.py
[edit]
[-] egg2wheel.py
[edit]
[-] metadata.py
[edit]
[-] decorator.py
[edit]
[-] paths.pyc
[edit]
[-] util.pyc
[edit]
[+]
test
[-] pkginfo.pyc
[edit]