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)
def doc(): """ Create package documentation """ return xnt.setup(["build_sphinx"])
def install(): """Install Xnt""" error_code = xnt.setup(["install", "--user"]) clean() return error_code
def build(): """Build Xnt""" return xnt.setup(["build"])
def build(): xnt.setup(['build'])
def install(): return xnt.setup(['install', '--user'])
def package(): return xnt.setup(['bdist'])
def test(): return xnt.setup(['test'])