Exemple #1
0
def main(args):
    options, files = cliparser()

    if options.devel:
        from prymatex.utils import autoreload
        autoreload.main(runPrymatexApplication, (options, files))
    else:
        return runPrymatexApplication(options, files)
Exemple #2
0
def main(args):
    if not areBasicImportsAvaliable():
        print
        print "Prymatex can't be started. Basic imports are note available."
        print "Check if you have: %s" % ', '.join(BASIC_IMPORTS)
        print
        return

    from prymatex.core import cliparser
    options, files = cliparser.parse()

    if options.devel:
        from prymatex.utils import autoreload
        autoreload.main(runPrymatexApplication, (options, files))
    else:
        return runPrymatexApplication(options, files)
Exemple #3
0
def main(args):
    if not areBasicImportsAvaliable():
        print
        print "Prymatex can't be started. Basic imports are note available."
        print "Check if you have: %s" % ', '.join(BASIC_IMPORTS)
        print
        return
    
    from prymatex.core import cliparser
    options, files = cliparser.parse()
    
    if options.devel:
        from prymatex.utils import autoreload
        autoreload.main(runPrymatexApplication, (options, files))
    else:
        return runPrymatexApplication(options, files)