pip:fixed abondened file
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user