summaryrefslogtreecommitdiffstats
path: root/module/setup.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-05 22:55:22 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-05 22:55:22 +0200
commit3e0bc9a0fb4dd6324e9764bc31f4686d672b70f4 (patch)
tree42265eeda90cbea3693ca28bc545afc630a2693b /module/setup.py
parentchanged dl function for test purpose (diff)
downloadpyload-3e0bc9a0fb4dd6324e9764bc31f4686d672b70f4.tar.xz
general js api + pyv8 support
Diffstat (limited to 'module/setup.py')
-rw-r--r--module/setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/setup.py b/module/setup.py
index e2b87e781..1991f0af4 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -244,7 +244,9 @@ class Setup():
self.print_dep("django", web)
web = web and sqlite
- js = self.check_prog(["js", "-v"])
+ from module import JsEngine
+
+ js = True if JsEngine.ENGINE else False
self.print_dep(_("JS engine"), js)
return (basic, ssl, captcha, gui, web, js)