diff --git a/programming/language/python/pip/actions.py b/programming/language/python/pip/actions.py
index e96056ae63..001d3c00de 100644
--- a/programming/language/python/pip/actions.py
+++ b/programming/language/python/pip/actions.py
@@ -5,6 +5,20 @@
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import get
+from pisi.actionsapi import pisitools
-def install():
+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")
diff --git a/programming/language/python/pip/pspec.xml b/programming/language/python/pip/pspec.xml
index 0f55c49236..b34ed51f4a 100644
--- a/programming/language/python/pip/pspec.xml
+++ b/programming/language/python/pip/pspec.xml
@@ -15,13 +15,15 @@
python-setuptools
+ python3-setuptools
+ python3-devel
pip
- /usr/bin
+ /usr/bin/pip2*
/usr/lib/python2*
/usr/share/doc
@@ -29,6 +31,19 @@
python-setuptools
+
+
+ pip3
+
+ /usr/bin/pip
+ /usr/bin/pip3*
+ /usr/lib/python3*
+
+
+
+ python-setuptools
+
+