Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2016-01-13 23:01:49 +0300
committerCasey Deccio <casey@deccio.net>2016-01-13 23:01:49 +0300
commit8fd0e275c55984f751e3e344a6227f444fb4e68c (patch)
tree05341be54f4ff9c9051b08bda29562bda1b7fa24 /setup.py
parent50f21b376f4b1da8e26ba2adc63d43912b1481ed (diff)
Move path for GOST dynamic library to config.py.in
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 627f93b..d184245 100644
--- a/setup.py
+++ b/setup.py
@@ -14,6 +14,7 @@ JQUERY_UI_PATH = "'http://code.jquery.com/ui/1.11.4/jquery-ui.min.js'"
JQUERY_UI_CSS_PATH = "'http://code.jquery.com/ui/1.11.4/themes/redmond/jquery-ui.css'"
JQUERY_PATH = "'http://code.jquery.com/jquery-1.11.3.min.js'"
RAPHAEL_PATH = "'http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.4/raphael-min.js'"
+GOST_PATH = "'/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so'"
def apply_substitutions(filename, install_prefix):
assert filename.endswith('.in'), 'Filename supplied for customization must end with \'.in\': %s' % (filename)
@@ -31,6 +32,7 @@ def apply_substitutions(filename, install_prefix):
s = s.replace('__JQUERY_UI_PATH__', JQUERY_UI_PATH)
s = s.replace('__JQUERY_UI_CSS_PATH__', JQUERY_UI_CSS_PATH)
s = s.replace('__RAPHAEL_PATH__', RAPHAEL_PATH)
+ s = s.replace('__GOST_PATH__', GOST_PATH)
out_fh.write(s)
in_fh.close()
out_fh.close()