This commit is contained in:
bferturk
2016-05-27 17:06:36 +03:00
parent fe6d73298f
commit 119191dd4a
2 changed files with 10 additions and 1 deletions
@@ -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())
+1 -1
View File
@@ -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>