Browse Source

It seems site.addsitedir() sticks this at the end; we want it first.

pull/24/head
Ben Kurtovic 11 years ago
parent
commit
2d07ee8ceb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      build.py

+ 1
- 0
build.py View File

@@ -19,6 +19,7 @@ if plat.startswith("sunos"):
elif plat.startswith("linux"): elif plat.startswith("linux"):
plat = "linux" plat = "linux"
site.addsitedir(os.path.expanduser("~/.local/" + plat + "/lib/python2.7/site-packages")) site.addsitedir(os.path.expanduser("~/.local/" + plat + "/lib/python2.7/site-packages"))
sys.path.insert(0, os.path.expanduser("~/.local/" + plat + "/lib/python2.7/site-packages"))
sys.path.insert(0, ".") sys.path.insert(0, ".")


from mako.template import Template from mako.template import Template


Loading…
Cancel
Save