python3-setuptools move to core

This commit is contained in:
IdrisKalp
2019-12-10 19:27:35 +03:00
parent c309a5486b
commit add8fb2034
3 changed files with 141 additions and 0 deletions
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
WorkDir="setuptools-%s" % get.srcVERSION()
def install():
pisitools.dosed("setuptools/command/easy_install.py", "env python", "env python3")
pythonmodules.run("bootstrap.py", pyVer="3")
pythonmodules.install(pyVer = "3")
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
#avoid python-setuptools conflict
#pisitools.removeDir("/usr/share")