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 |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
_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 |
|
__main__.py | File | 584 B | 0644 |
|
basecommand.py | File | 11.63 KB | 0644 |
|
baseparser.py | File | 10.22 KB | 0644 |
|
cmdoptions.py | File | 16.09 KB | 0644 |
|
download.py | File | 32.08 KB | 0644 |
|
exceptions.py | File | 7.93 KB | 0644 |
|
index.py | File | 40.58 KB | 0644 |
|
locations.py | File | 5.49 KB | 0644 |
|
pep425tags.py | File | 10.72 KB | 0644 |
|
status_codes.py | File | 156 B | 0644 |
|
wheel.py | File | 31.53 KB | 0644 |
|