diff --git a/README.md b/README.md index 81a7111..c5e862d 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Not much else to say at this stage. Move along, now. Dependencies ============ -* [earwigbot](https://github.com/earwig/earwigbot) -* [mako](http://www.makotemplates.org/) -* [oursql](http://packages.python.org/oursql/) -* [uglifyjs](https://github.com/mishoo/UglifyJS/) +* [earwigbot](https://github.com/earwig/earwigbot) >= 0.1 +* [mako](http://www.makotemplates.org/) >= 0.7.2 +* [oursql](http://packages.python.org/oursql/) >= 0.9.3.1 +* [uglifyjs](https://github.com/mishoo/UglifyJS/) >= 1.3.3 * [uglifycss](https://github.com/fmarcia/UglifyCSS/) diff --git a/build.py b/build.py index a3b293f..a9ca0c7 100755 --- a/build.py +++ b/build.py @@ -12,6 +12,12 @@ import os import sys os.chdir("..") +plat = sys.platform +if plat.startswith("sunos"): + plat = "solaris" +elif plat.startswith("linux"): + plat = "linux" +sys.path.insert(0, os.path.expanduser("~/.local/" + plat + "/lib/python2.7/site-packages")) sys.path.insert(0, ".") from mako.template import Template