PATH:
usr
/
lib
/
python2.7
/
site-packages
/
pip
from __future__ import absolute_import import os import sys # If we are running from a wheel, add the wheel to sys.path # This allows the usage python pip-*.whl/pip install pip-*.whl if __package__ == '': # __file__ is pip-*.whl/pip/__main__.py # first dirname call strips of '/__main__.py', second strips off '/pip' # Resulting path is the name of the wheel itself # Add that to sys.path so we can import pip path = os.path.dirname(os.path.dirname(__file__)) sys.path.insert(0, path) import pip # noqa if __name__ == '__main__': sys.exit(pip.main())
[-] index.pyc
[edit]
[-] basecommand.pyc
[edit]
[-] __init__.pyo
[edit]
[-] exceptions.py
[edit]
[-] wheel.pyo
[edit]
[-] status_codes.pyc
[edit]
[-] pep425tags.py
[edit]
[+]
..
[-] locations.py
[edit]
[-] download.py
[edit]
[-] download.pyc
[edit]
[+]
commands
[-] exceptions.pyc
[edit]
[+]
utils
[-] cmdoptions.pyc
[edit]
[-] basecommand.py
[edit]
[-] __init__.pyc
[edit]
[+]
operations
[-] exceptions.pyo
[edit]
[-] __main__.py
[edit]
[+]
vcs
[-] __main__.pyc
[edit]
[-] index.pyo
[edit]
[-] wheel.py
[edit]
[+]
_vendor
[+]
compat
[-] index.py
[edit]
[-] status_codes.pyo
[edit]
[-] cmdoptions.pyo
[edit]
[-] basecommand.pyo
[edit]
[-] locations.pyo
[edit]
[-] locations.pyc
[edit]
[+]
req
[+]
models
[-] cmdoptions.py
[edit]
[-] pep425tags.pyc
[edit]
[-] baseparser.py
[edit]
[-] baseparser.pyc
[edit]
[-] download.pyo
[edit]
[-] __main__.pyo
[edit]
[-] baseparser.pyo
[edit]
[-] pep425tags.pyo
[edit]
[-] __init__.py
[edit]
[-] wheel.pyc
[edit]
[-] status_codes.py
[edit]