Example #1
0
def test():
    """Tests package"""
    error_codes = []
    print("Python Tests:")
    error_codes.append(xnt.setup(["test"]))
    clean()
    if xnt.in_path("python2"):
        print("Python2 Tests:")
        error_codes.append(xnt.call(["python2", "setup.py", "test"]))
        clean()
    return sum(error_codes)
Example #2
0
def doc():
    """
    Create package documentation
    """
    return xnt.setup(["build_sphinx"])
Example #3
0
def install():
    """Install Xnt"""
    error_code = xnt.setup(["install", "--user"])
    clean()
    return error_code
Example #4
0
def build():
    """Build Xnt"""
    return xnt.setup(["build"])
Example #5
0
def build():
    xnt.setup(['build'])
Example #6
0
def install():
    return xnt.setup(['install', '--user'])
Example #7
0
def package():
    return xnt.setup(['bdist'])
Example #8
0
def test():
    return xnt.setup(['test'])