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())
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
_vendor | Folder | 0755 |
|
|
commands | Folder | 0755 |
|
|
compat | Folder | 0755 |
|
|
models | Folder | 0755 |
|
|
operations | Folder | 0755 |
|
|
req | Folder | 0755 |
|
|
utils | Folder | 0755 |
|
|
vcs | Folder | 0755 |
|
|
__init__.py | File | 11.65 KB | 0644 |
|
__init__.pyc | File | 9.35 KB | 0644 |
|
__init__.pyo | File | 9.17 KB | 0644 |
|
__main__.py | File | 584 B | 0644 |
|
__main__.pyc | File | 484 B | 0644 |
|
__main__.pyo | File | 484 B | 0644 |
|
basecommand.py | File | 11.63 KB | 0644 |
|
basecommand.pyc | File | 8.73 KB | 0644 |
|
basecommand.pyo | File | 8.73 KB | 0644 |
|
baseparser.py | File | 10.22 KB | 0644 |
|
baseparser.pyc | File | 10.49 KB | 0644 |
|
baseparser.pyo | File | 10.46 KB | 0644 |
|
cmdoptions.py | File | 16.09 KB | 0644 |
|
cmdoptions.pyc | File | 15.26 KB | 0644 |
|
cmdoptions.pyo | File | 15.26 KB | 0644 |
|
download.py | File | 32.08 KB | 0644 |
|
download.pyc | File | 25.33 KB | 0644 |
|
download.pyo | File | 25.21 KB | 0644 |
|
exceptions.py | File | 7.93 KB | 0644 |
|
exceptions.pyc | File | 12.16 KB | 0644 |
|
exceptions.pyo | File | 12.16 KB | 0644 |
|
index.py | File | 39.01 KB | 0644 |
|
index.pyc | File | 34.32 KB | 0644 |
|
index.pyo | File | 34.24 KB | 0644 |
|
locations.py | File | 5.49 KB | 0644 |
|
locations.pyc | File | 4.66 KB | 0644 |
|
locations.pyo | File | 4.57 KB | 0644 |
|
pep425tags.py | File | 10.72 KB | 0644 |
|
pep425tags.pyc | File | 9.26 KB | 0644 |
|
pep425tags.pyo | File | 9.26 KB | 0644 |
|
status_codes.py | File | 156 B | 0644 |
|
status_codes.pyc | File | 393 B | 0644 |
|
status_codes.pyo | File | 393 B | 0644 |
|
wheel.py | File | 31.53 KB | 0644 |
|
wheel.pyc | File | 24.84 KB | 0644 |
|
wheel.pyo | File | 24.63 KB | 0644 |
|