Commit Graph

19 Commits

Author SHA1 Message Date
Gabriel Ferreira
55acc1e3c3 bindings: Load contrib modules when working with a lock file 2024-03-20 21:51:04 +00:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
af98671fbe style: apply style changes in preparation for black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
1d980f33ce bindings: (fixes #948) Rollback the file encoding changes made to ns__init__.py
Fixes issue introduced in 20ae6fb2d0
2023-08-24 20:01:18 +00:00
Eduardo Almeida
20ae6fb2d0 python: Explicitly specify the encoding when opening files 2023-08-18 11:21:47 +00:00
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
Tommaso Pecorella
a9223622da network: make addresses ConvertTo public and simplify python scripts 2022-11-25 01:36:26 +00:00
Gabriel Ferreira
f9eb5a7327 bindings: improve search of linked libraries and include directories 2022-11-16 02:51:34 -03:00
Gabriel Ferreira
5595f4dc9a bindings: fix module version checking 2022-10-29 00:28:38 +00:00
Gabriel Ferreira
b0e69fcbc8 bindings: use lru_cache to support older Python releases 2022-10-28 01:51:18 -03:00
Gabriel Ferreira
3ce922e41a bindings: handle development, candidate and release versions of ns-3 2022-10-28 01:50:49 -03:00
Gabriel Ferreira
12373157a4 bindings, docs: pass strings via char* to CommandLine.AddValue
And supplement memory-management issues section
2022-10-25 23:17:55 -03:00
Gabriel Ferreira
106f44af88 bindings: add more include directories of third-party libraries 2022-10-23 22:29:21 -03:00
Gabriel Ferreira
655b64205e bindings: extract linked libraries and add their include directories 2022-10-20 19:53:08 +00:00
Gabriel Ferreira
aee234645a build: remove bindings dependency on the lock, add opt-in installation 2022-10-12 13:13:11 -03:00
Gabriel Ferreira
a25e553fa2 build, bindings: check if cppyy is available at runtime and format cmake 2022-08-05 01:17:00 -03:00
Gabriel Ferreira
857363f05b bindings: fix lock file search 2022-08-04 02:08:05 -03:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +00:00
Gustavo J. A. M. Carneiro
38e2f863c9 Use the waf 'copy' tool to copy __init__.py files
They had to be renamed to work around waf limitations.
2011-03-28 14:56:08 +01:00