From 79eabe9c2ca9ce5dea5f4af7f23aa9f032ba8801 Mon Sep 17 00:00:00 2001 From: Zied Aouini Date: Thu, 19 Dec 2019 15:19:28 +0100 Subject: [PATCH] Build lib only. --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 0232ea6..8771924 100644 --- a/setup.py +++ b/setup.py @@ -51,13 +51,12 @@ class BuildPyCommand(build_py): class BuildNdpiCommand(build_ext): def run(self): - subprocess.check_call(['git', 'clone', '--branch', '3.0-stable', 'https://github.com/aouinizied/nDPI.git']) + subprocess.check_call(['git', 'clone', '--branch', '3.0-stable', 'https://github.com/ntop/nDPI.git']) os.chdir('nDPI/') subprocess.check_call(['./autogen.sh']) - subprocess.check_call(['./configure']) - subprocess.check_call(['make']) os.chdir('src/') os.chdir('lib/') + subprocess.check_call(['make']) shutil.copy2('libndpi.so', '../../../nfstream/libs/') os.chdir('..') os.chdir('..')