@@ -13,12 +13,21 @@ WorkDir="pip-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("python3")
|
||||
|
||||
shelltools.copytree("../pip-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
|
||||
pythonmodules.compile()
|
||||
|
||||
shelltools.cd("%s/python3" % get.workDIR())
|
||||
pythonmodules.compile(pyVer = "3")
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
shelltools.cd("%s/python3" % get.workDIR())
|
||||
|
||||
pythonmodules.install(pyVer = "3")
|
||||
pisitools.rename("/usr/bin/pip", "pip3")
|
||||
|
||||
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())
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-05-25</Date>
|
||||
<Date>2016-05-27</Date>
|
||||
<Version>8.1.2</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
|
||||
Reference in New Issue
Block a user