Exemplo n.º 1
0
def build():
    # remove the C extension so that it will be rebuild using the latest Cython
    shelltools.unlink("src/lxml/lxml.etree.c")
    shelltools.unlink("src/lxml/lxml.etree_api.h")
    shelltools.unlink("src/lxml/lxml.objectify.c")

    pythonmodules.compile()
Exemplo n.º 2
0
def build():
    pisitools.dosed(
        "spyderlib/spyder.py",
        "http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html",
        "http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html",
    )
    pythonmodules.compile()
Exemplo n.º 3
0
def build():
    for d in ("utils/open-isns", "utils/sysdeps", "utils/fwparam_ibft",
              "usr", "utils", "libiscsi"):
        autotools.make("OPTFLAGS='%s' -C %s -j1" % (get.CFLAGS(), d))

    shelltools.cd("libiscsi")
    pythonmodules.compile()
Exemplo n.º 4
0
def build():
    pythonmodules.compile()

    # FIXME: Is this really needed?
    shelltools.copy(
        "lib/pygame_icon.bmp", "build/lib.linux-%s-%s/pygame/" % (get.ARCH(), get.curPYTHON().replace("python", ""))
    )
Exemplo n.º 5
0
def build():
    # Move doc files to true directory.
    pisitools.dosed("setup.py", "'share/sonata'",
                    "'%s/%s'" % (get.docDIR().replace("usr/", ""),
                                 get.srcNAME()))

    pythonmodules.compile()
Exemplo n.º 6
0
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")
Exemplo n.º 7
0
def build():
    pythonmodules.compile()

    # we need texi to create ps
    # for d in ["doc/html", "doc/info", "doc/ps"]:
    for d in ["doc/html", "doc/info"]:
        shelltools.cd(d)
        autotools.make()
        shelltools.cd("../..")
Exemplo n.º 8
0
def build():
    autotools.make()
    
    shelltools.cd("../build_python/python")
    pythonmodules.compile(pyVer="2.7")

    shelltools.cd("..")
    shelltools.cd("../build_python3/python")
    pythonmodules.compile(pyVer="3")
Exemplo n.º 9
0
def build():
    pisitools.dosed("script/*", "/usr/bin/env python", "/usr/bin/python")
    pythonmodules.compile()
Exemplo n.º 10
0
def install():
    pythonmodules.compile()
    pythonmodules.install()
Exemplo n.º 11
0
def build():
    
    shelltools.export("PYTHON", "/usr/bin/python3.4")
    pythonmodules.compile(pyVer="3.4")
Exemplo n.º 12
0
def build():
    pythonmodules.compile(pyVer="3")
    shelltools.system("python3 setup.py build")
Exemplo n.º 13
0
def build():
    pythonmodules.compile()
    autotools.make("-C doc html")
    autotools.make("-C doc man")
Exemplo n.º 14
0
def build():
    pythonmodules.compile()
Exemplo n.º 15
0
def build():
    pythonmodules.compile(parameters="--prefix=/usr")
Exemplo n.º 16
0
def build():
    pythonmodules.compile()
    shelltools.chmod("contrib/*", 0644)
Exemplo n.º 17
0
def check():
    pythonmodules.compile("check")

    shelltools.cd("../build_python3/%s" % WorkDir)
    shelltools.system("python3 setup.py check")
Exemplo n.º 18
0
def build():
    pythonmodules.compile()
    shelltools.copy("lib/pygame_icon.bmp",
                    "build/lib.linux-%s-%s/pygame/" % (arch, pyversion))
Exemplo n.º 19
0
def build():
    pythonmodules.compile(NUMPY_FCONFIG)
Exemplo n.º 20
0
def build():
    shelltools.export("CC", get.CC())
    pythonmodules.compile()
Exemplo n.º 21
0
def setup():
    #pisitools.dosed("setup.py", "pycrypto", "python-pycrypto")
    pythonmodules.compile()
def check():
    pythonmodules.compile("test")
Exemplo n.º 23
0
def setup():
    pythonmodules.compile()
    shelltools.chmod("examples/*", 0644)
Exemplo n.º 24
0
def build():
    autotools.make('CFLAGS="%s -Wno-deprecated" all xdelta3-decoder xdelta3-tools' % get.CFLAGS())
    pythonmodules.compile()
Exemplo n.º 25
0
def build():
    # suppress compiler warnings:
    pisitools.cflags.add("-Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-stringop-truncation -Wno-unused-function")
    # fix unused direct dependency analysis
    shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -lbz2")
    pythonmodules.compile(pyVer="3")
Exemplo n.º 26
0
def build():
    pythonmodules.compile()
    shelltools.copy("lib/pygame_icon.bmp", "build/lib.linux-i686-%s/pygame/" % get.curPYTHON().replace("python", ""))
Exemplo n.º 27
0
def setup():
    pythonmodules.compile(pyVer="3")
Exemplo n.º 28
0
def build():
    shelltools.cd("src")
    pythonmodules.compile()
Exemplo n.º 29
0
def check():
    pythonmodules.compile("check")
    
    shelltools.cd("../build_python3/%s" % WorkDir)
    shelltools.system("python3 setup.py check")
Exemplo n.º 30
0
def check():
    pythonmodules.compile("test")
Exemplo n.º 31
0
def build():
    autotools.make()
    shelltools.cd("python")
    pythonmodules.compile()
    shelltools.cd("..")
Exemplo n.º 32
0
def build():
    # suppress compiler warnings
    pisitools.cflags.add("-Wno-deprecated-declarations")
    # fix unused direct dependency analysis
    shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared")
    pythonmodules.compile()
Exemplo n.º 33
0
def build():
    shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
    pythonmodules.compile(pyVer="3")
Exemplo n.º 34
0
def build():
    pythonmodules.compile()

    autotools.make("-C docs")
Exemplo n.º 35
0
def check():
    pythonmodules.compile("test", pyVer="3")
Exemplo n.º 36
0
def build():
    shelltools.export("CC", get.CC())
    pythonmodules.compile()
Exemplo n.º 37
0
def build():
    pythonmodules.compile()
    autotools.make("-C doc html")
    autotools.make("-C doc man")
Exemplo n.º 38
0
def build():
    pythonmodules.run("bootstrap.py")
    pythonmodules.compile()
Exemplo n.º 39
0
def build():
    pythonmodules.compile()

    shelltools.cd("../build_python3/%s" % WorkDir)
    pythonmodules.compile(pyVer="3.4")
Exemplo n.º 40
0
def build():
    pythonmodules.compile("bdist")
Exemplo n.º 41
0
def build():
    shelltools.export("LDFLAGS","%s -shared" % get.LDFLAGS())
    pythonmodules.compile()
Exemplo n.º 42
0
def setup():
     pythonmodules.configure()
     pythonmodules.compile()
Exemplo n.º 43
0
def build():
    pisitools.cflags.add(z)

    pythonmodules.compile()
Exemplo n.º 44
0
def setup():
    # remove pae modules
    pisitools.dosed("panda.py", "-pae-", deleteLine=True)

    pythonmodules.compile()
Exemplo n.º 45
0
def setup():
    # fix unused direct dependency analysis
    shelltools.export(
        "LDSHARED",
        "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -lbz2")
    pythonmodules.compile()
Exemplo n.º 46
0
def build():
    pythonmodules.compile("build")
    pythonmodules.compile("compile_translations")
Exemplo n.º 47
0
def build():
    pythonmodules.compile()

    shelltools.cd("../build_python3/%s" % WorkDir)
    pythonmodules.compile(pyVer="3")
Exemplo n.º 48
0
def build():
    pythonmodules.compile()
    shelltools.copy("lib/pygame_icon.bmp", "build/lib.linux-%s-%s/pygame/" % (arch, pyversion))
Exemplo n.º 49
0
def build():
    pythonmodules.compile()
    autotools.make()
Exemplo n.º 50
0
def setup():
    pythonmodules.compile()
Exemplo n.º 51
0
def setup():
    pythonmodules.compile()
Exemplo n.º 52
0
def build():
    pythonmodules.compile()
    shelltools.chmod("contrib/*", 0644)
Exemplo n.º 53
0
def build():
    pythonmodules.compile(pyVer="3")
Exemplo n.º 54
0
def build():
    pythonmodules.compile(pyVer="3")
Exemplo n.º 55
0
def build():
    pythonmodules.compile()
Exemplo n.º 56
0
def build():
    autotools.make()
    shelltools.cd("python")
    pythonmodules.compile()
    shelltools.cd("..")
Exemplo n.º 57
0
def build():
    pisitools.dosed(
        "spyderlib/spyder.py",
        "http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html",
        "http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html")
    pythonmodules.compile()