2014-12-18 23:12:14 +00:00
|
|
|
#! /usr/bin/env python3
|
|
|
|
|
|
|
|
# This script is for running peru directly from the repo, mainly for
|
|
|
|
# development. This isn't what gets installed when you install peru. That would
|
|
|
|
# be a script generated by setup.py, which calls peru.main.main().
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
repo_root = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
|
|
|
|
sys.path.insert(0, repo_root)
|
|
|
|
|
2016-07-30 19:34:52 +00:00
|
|
|
import peru.main # noqa: E402
|
2014-12-18 23:12:14 +00:00
|
|
|
|
2017-11-30 06:02:13 +00:00
|
|
|
sys.exit(peru.main.main())
|