python3-setuptools:rebuild for python3 downgrade

This commit is contained in:
2016-05-16 14:33:52 +03:00
parent ef7fbcf1f0
commit 86fc2c4007
2 changed files with 10 additions and 14 deletions
@@ -14,12 +14,9 @@ def setup():
shelltools.makedirs("python3")
shelltools.copytree("../setuptools-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
def install():
#pythonmodules.install()
#pisitools.remove("/usr/lib/%s/site-packages/setuptools/*.exe" % get.curPYTHON())
def install():
shelltools.cd("%s/python3" % get.workDIR())
pythonmodules.install(pyVer = "3")
#pisitools.remove("/usr/lib/python3.4/site-packages/setuptools/*.exe")
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
#avoid python-setuptools conflict
pisitools.removeDir("/usr/share")
pisitools.removeDir("/usr/share")