python add new package and fix
This commit is contained in:
@@ -6,28 +6,12 @@
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="six-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
shelltools.cd("..")
|
||||
shelltools.makedirs("build_python3")
|
||||
shelltools.copytree("./%s" % WorkDir, "build_python3")
|
||||
shelltools.cd(WorkDir)
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||
pythonmodules.compile(pyVer="3.4")
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||
pythonmodules.install(pyVer="3.4")
|
||||
|
||||
pisitools.removeDir("/usr/lib/*/site-packages/six-1.9.0*egg-info*")
|
||||
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
|
||||
pisitools.remove("/usr/lib/*/site-packages/*egg-info*")
|
||||
|
||||
Reference in New Issue
Block a user