pip:fixed abondened file

This commit is contained in:
ayhanyalcinsoy
2016-06-07 01:37:50 +03:00
parent 30fbe2a46d
commit 9b8932ec6e
2 changed files with 2 additions and 1 deletions
@@ -17,6 +17,7 @@ def setup():
def install():
pythonmodules.install(pyVer = "3")
pisitools.rename("/usr/bin/pip", "pip3")
pisitools.rename("/usr/share/doc/pip/README.rst", "README3.rst")
shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python3|' %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR())
shelltools.system("python3 -m compileall %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR())
+1 -1
View File
@@ -26,7 +26,7 @@
<Path fileType="executable">/usr/bin/pip</Path>
<Path fileType="executable">/usr/bin/pip3*</Path>
<Path fileType="data">/usr/lib/python3*</Path>
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
<Path fileType="doc">/usr/share/doc</Path>
</Files>
<RuntimeDependencies>
<Dependency>python3-setuptools</Dependency>