mirror of
https://github.com/buildinspace/peru.git
synced 2025-02-26 20:35:18 +00:00

Summary: Remove the third-party/ directory and no longer rely on copies of dependencies in the repo. When needed, fetch dependencies normally. This can usually be accomplished via `pip install -r requirements.txt` or `pip install -r requirements-dev.txt`. Even though `peru.yaml` is gone, `.peru/` is still in `.gitignore`, because the tests check for untracked files and will detect `.peru/` as an error. Test Plan: Successfully ran tests locally and via Travis CI. Reviewers: jacko Reviewed By: jacko Differential Revision: https://phabricator.buildinspace.com/D145
19 lines
448 B
Python
Executable File
19 lines
448 B
Python
Executable File
#! /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)
|
|
|
|
import peru.main
|
|
|
|
print("Running peru from:", os.path.dirname(peru.__file__))
|
|
|
|
peru.main.main()
|