python add new package and fix

This commit is contained in:
alihanozturk
2016-06-07 00:14:16 +03:00
parent 2660cc6bcb
commit 74e4a469fc
19 changed files with 270 additions and 148 deletions
@@ -6,14 +6,9 @@
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir="requests-%s" % get.srcVERSION()
def build():
pythonmodules.compile()
def install():
shelltools.makedirs("python3")
shelltools.copytree("../requests-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
pythonmodules.install()
shelltools.cd("%s/python3" % get.workDIR())
pythonmodules.install(pyVer = "3")