Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Avoid hardcoding that repo_path/tools == here (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders authored and sideshowbarker committed Aug 19, 2016
1 parent de4d6eb commit f73797f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions localpaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
here = os.path.abspath(os.path.split(__file__)[0])
repo_root = os.path.abspath(os.path.join(here, os.pardir))

sys.path.insert(0, os.path.join(repo_root, "tools"))
sys.path.insert(0, os.path.join(repo_root, "tools", "six"))
sys.path.insert(0, os.path.join(repo_root, "tools", "html5lib"))
sys.path.insert(0, os.path.join(repo_root, "tools", "wptserve"))
sys.path.insert(0, os.path.join(repo_root, "tools", "pywebsocket", "src"))
sys.path.insert(0, os.path.join(repo_root, "tools", "py"))
sys.path.insert(0, os.path.join(repo_root, "tools", "pytest"))
sys.path.insert(0, os.path.join(repo_root, "tools", "webdriver"))
sys.path.insert(0, os.path.join(here))
sys.path.insert(0, os.path.join(here, "six"))
sys.path.insert(0, os.path.join(here, "html5lib"))
sys.path.insert(0, os.path.join(here, "wptserve"))
sys.path.insert(0, os.path.join(here, "pywebsocket", "src"))
sys.path.insert(0, os.path.join(here, "py"))
sys.path.insert(0, os.path.join(here, "pytest"))
sys.path.insert(0, os.path.join(here, "webdriver"))

0 comments on commit f73797f

Please sign in to comment.