mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-19 07:54:25 +00:00
[WIP] Improve CI.
This commit is contained in:
parent
8a2aee751e
commit
b9c2fe6409
1 changed files with 3 additions and 2 deletions
5
setup.py
5
setup.py
|
|
@ -72,8 +72,9 @@ class BuildNativeCommand(build_ext):
|
|||
def run(self):
|
||||
# Build Dependencies
|
||||
if os.name != 'posix': # Windows case, no libpcap
|
||||
subprocess.check_call(["msys2", "-c", """'{}'""".format(str(BUILD_SCRIPT_PATH) + ' --skip-libpcap')],
|
||||
shell=False)
|
||||
build_script_command = """'{}'""".format(str(BUILD_SCRIPT_PATH) + ' --skip-libpcap')
|
||||
print(build_script_command)
|
||||
subprocess.check_call(["msys2", "-c", build_script_command], shell=False)
|
||||
else:
|
||||
subprocess.check_call([str(BUILD_SCRIPT_PATH)])
|
||||
# Build engine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue