예제 #1
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
예제 #2
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)
예제 #3
0
파일: main.py 프로젝트: Laufire/ec
    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
예제 #4
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)
예제 #5
0
파일: main.py 프로젝트: Laufire/ec
    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"])
예제 #6
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:
            err(Result['err'], Result['code'])
예제 #7
0
파일: main.py 프로젝트: Laufire/ec
def install():

    rmtree("%s/build" % project_root)

    for command in ["build", "install"]:
        assert run("python setup.py %s" % command) == 0
예제 #8
0
def install():

    rmtree('%s/build' % project_root)

    for command in ['build', 'install']:
        assert (run('python setup.py %s' % command) == 0)