mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-20 01:01:34 +00:00
Build lib only.
This commit is contained in:
parent
c80c176977
commit
79eabe9c2c
1 changed files with 2 additions and 3 deletions
5
setup.py
5
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('..')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue