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-03-18 22:51:46 +0300
committerCasey Deccio <casey@deccio.net>2016-03-18 22:51:46 +0300
commitf71c5c0bdec6c0418e41bc2e51d4842fffa48c2f (patch)
tree713b29a621c577ba1dd8f800887a3cfc77b4a497 /setup.py
parent82333a1914ebc8e9405f154f0e6a5ff8227af2b7 (diff)
Make install work with python 2.6
Make install work with python 2.6. Even though python 2.6 isn't supported for full use of the tool, DNSViz can be installed and used with python 2.6 in conjunction with a DNS looking glass.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ac04f12..51dfe6f 100644
--- a/setup.py
+++ b/setup.py
@@ -51,7 +51,7 @@ def set_openssl_lib_path():
msg = ''
try:
- libdir = subprocess.check_output(['pkg-config', '--variable=libdir', 'openssl']).strip()
+ libdir = subprocess.Popen(['pkg-config', '--variable=libdir', 'openssl'], stdout=subprocess.PIPE).communicate()[0].strip()
except (subprocess.CalledProcessError, OSError), e:
libdir = None
msg = str(e)