X7ROOT File Manager
Current Path:
/opt/alt/python34/lib/python3.4/site-packages/pip
opt
/
alt
/
python34
/
lib
/
python3.4
/
site-packages
/
pip
/
ðŸ“
..
📄
__init__.py
(9.21 KB)
📄
__main__.py
(116 B)
ðŸ“
__pycache__
ðŸ“
_vendor
ðŸ“
backwardcompat
📄
basecommand.py
(6.42 KB)
📄
baseparser.py
(7.97 KB)
📄
cmdoptions.py
(9.11 KB)
ðŸ“
commands
📄
download.py
(22.05 KB)
📄
exceptions.py
(1.06 KB)
📄
index.py
(39.46 KB)
📄
locations.py
(6.06 KB)
📄
log.py
(9.23 KB)
📄
pep425tags.py
(2.9 KB)
📄
req.py
(81.79 KB)
📄
runner.py
(431 B)
📄
status_codes.py
(116 B)
📄
util.py
(24.54 KB)
ðŸ“
vcs
📄
wheel.py
(20.31 KB)
Editing: runner.py
import sys import os def run(): base = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) ## FIXME: this is kind of crude; if we could create a fake pip ## module, then exec into it and update pip.__path__ properly, we ## wouldn't have to update sys.path: sys.path.insert(0, base) import pip return pip.main() if __name__ == '__main__': exit = run() if exit: sys.exit(exit)
Upload File
Create Folder