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>
12 lines
362 B
Python
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=' ')
|