From 6305c9fbd58413053a561d2700db0c198ec34abb Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Wed, 21 Aug 2019 21:12:50 +0200 Subject: [PATCH] ... --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 1b7baf9..39d4cda 100644 --- a/setup.py +++ b/setup.py @@ -6,9 +6,9 @@ from setuptools import setup, Extension from glob import glob -from os import environ, uname -from os.path import dirname, exists, join -from sys import argv +from os import environ +from os.path import dirname, exists, join, abspath +from sys import argv, platform compile_args = ['-O0', '-g', '-UNDEBUG', '-std=c++14'] \ @@ -43,7 +43,7 @@ libraries = [ ] -libext = '.dylib' if uname().sysname == 'Darwin' else '.so' +libext = '.dll' if platform == 'win32' else '.dylib' if platform == 'darwin' else '.so' search_for_includes = 'pEp', 'boost', 'asn1c/asn_system.h'