build: Remove pybindgen leftover

This commit is contained in:
Gabriel Ferreira
2024-07-27 17:07:04 +00:00
parent 8783b6ffb6
commit a1c2655e35

8
ns3
View File

@@ -1694,14 +1694,6 @@ def main():
if os.getenv("CLICOLOR") is None:
os.environ["CLICOLOR"] = "1"
# If pybindgen exists in the parent directory
# (e.g. ns3-all-in-one), add it to the PYTHONPATH
pybindgen_dir = glob.glob(os.path.abspath(append_to_ns3_path("..", "pybindgen*")))
if pybindgen_dir:
if "PYTHONPATH" not in os.environ:
os.environ["PYTHONPATH"] = ""
os.environ["PYTHONPATH"] += path_sep + pybindgen_dir[0]
# Parse arguments
args = parse_args(sys.argv[1:])
atexit.register(exit_handler, dry_run=args.dry_run)