def installSphinxDoc(): wd = "%s/sphinxdoc" % project_root rmtree("%s/build" % wd) for command in ["build", "install"]: assert run("python setup.py %s" % command, cwd=wd) == 0
def installSphinxDoc(): wd = '%s/sphinxdoc' % project_root rmtree('%s/build' % wd) for command in ['build', 'install']: assert (run('python setup.py %s' % command, cwd=wd) == 0)
def make(check=True, update=False): if check: docs.check() if not update: rmtree("docs/_build") assert run("sphinx-build -b html -d _build/doctrees . _build/html", cwd="%s/docs" % project_root) == 0
def make(check=True, update=False): if check: docs.check() if not update: rmtree('docs/_build') assert (run('sphinx-build -b html -d _build/doctrees . _build/html', cwd='%s/docs' % project_root) == 0)
def make(): for dir in ["build", "dist"]: # Clean the build related dirs rmtree(dir) test() devLinks.clear() Result = shell_exec("python setup.py sdist") devLinks.create() try: assert Result["code"] == 0 print "dist done!" except Exception: # pylint: disable=W0703 err(Result["err"], Result["code"])
def make(): for dir in ['build', 'dist']: # Clean the build related dirs rmtree(dir) test() devLinks.clear() Result = shell_exec('python setup.py sdist') devLinks.create() try: assert (Result['code'] == 0) print 'dist done!' except Exception: err(Result['err'], Result['code'])
def install(): rmtree("%s/build" % project_root) for command in ["build", "install"]: assert run("python setup.py %s" % command) == 0
def install(): rmtree('%s/build' % project_root) for command in ['build', 'install']: assert (run('python setup.py %s' % command) == 0)