Files
unison/build-support/pip-wheel/auditwheel-exclude-list.py
Gabriel Ferreira ec9d26acd9 bindings: package ns-3 as a pip wheel
Includes:
- Python examples to test Brite, Click and Openflow
- CI jobs for manylinux packaging of pip wheel
- Support for Linux distributions with lib and lib64 directories
- Configuration of RPATH not to require setting LD_LIBRARY_PATH

Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
2023-05-29 22:36:32 -03:00

12 lines
362 B
Python

import os
ns3_path = os.path.dirname(os.path.abspath(os.sep.join([__file__, "../../"])))
for variant in ["lib", "lib64"]:
lib_dir = os.path.abspath(os.path.join(ns3_path, f"build/{variant}"))
if not os.path.exists(lib_dir):
continue
for lib in os.listdir(lib_dir):
if "libns3" in lib:
print(f"--exclude {lib}", end=' ')