Gustavo J. A. M. Carneiro
0cc663db91
Re-enable the 'ns3' compatility python module, previously accidentally disabled
2011-09-01 17:28:10 +01:00
Tom Henderson
f0c447ec66
Bug 1253 - disable python bindings if static build selected
2011-08-31 06:23:28 -07:00
Gustavo J. A. M. Carneiro
bf2fd1ad34
Bug 1250 - waf configure do not check for Python.h (python-dev)
2011-08-25 19:24:06 +01:00
Gustavo J. A. M. Carneiro
509b37f132
Bug 1240 - remove monolithic python bindings from waf
2011-08-18 16:53:15 +01:00
Gustavo J. A. M. Carneiro
27e6fcc4fc
Bug 1224 - Ns-3-allinone fails to compile on Lion
2011-08-07 16:52:49 +01:00
Gustavo J. A. M. Carneiro
5fbd0a133d
Bump pybindgen version to pull another bug fix
2011-07-20 12:43:03 +01:00
Gustavo J. A. M. Carneiro
3d77ba8272
Upgrade pybindgen
2011-07-19 19:49:51 +01:00
Gustavo J. A. M. Carneiro
fda662438e
Bug 1200 again: fix pyext install path on fedora x86_64
2011-07-12 11:02:40 +01:00
Gustavo J. A. M. Carneiro
51c97a2cd8
Bug 1200 - ./waf install doesn't install Python bindings properly
2011-07-11 14:24:59 +01:00
Gustavo J. A. M. Carneiro
78782ea0a2
Bug 1200 - ./waf install doesn't install Python bindings properly
2011-07-05 19:16:47 +01:00
Gustavo J. A. M. Carneiro
2f907d942b
Bump required pybindgen version
2011-07-05 18:53:05 +01:00
Mathieu Lacage
4b74dc78f9
really require version 785
2011-04-15 20:51:42 +02:00
Mathieu Lacage
7ff702d6b1
early work to make python bindings work again with ns-3-time
2011-04-13 09:08:05 +02:00
Gustavo J. A. M. Carneiro
b56006e6b0
Get pybindgen fix.
2011-04-04 19:44:35 +01:00
Gustavo J. A. M. Carneiro
74aab1431c
Python bindings: fix uninitialized value
2011-04-04 12:35:41 +01:00
Gustavo J. A. M. Carneiro
2f769cecaa
Tentatively switch to build modular bindings by default, to test them
2011-03-29 18:50:56 +01:00
Gustavo J. A. M. Carneiro
ec7e5f9bae
Make sure --python-scan ignores -test modules
2011-03-29 18:15:52 +01:00
Gustavo J. A. M. Carneiro
f24bd64139
Modular bindings: don't always generate compat ns3.py, only when needed
2011-03-28 15:31:13 +01: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
Gustavo J. A. M. Carneiro
35a81dd4e4
Modular bindings: add support for <module>.py and _<module>.so layout, for extending modules in Python
2011-03-27 23:35:55 +01:00
Gustavo J. A. M. Carneiro
2a16dbfa9b
./waf --apiscan=all: now only scans modules that have bld.ns3_python_bindings() in their wscript
2011-03-22 15:56:41 +00:00
Gustavo J. A. M. Carneiro
3f05c198e5
./waf --apiscan=all: don't scan modules ending in -test
2011-03-21 18:53:10 +00:00
Gustavo J. A. M. Carneiro
a8d6007059
Make ./waf --apiscan=all skip the test modules
2011-03-21 18:16:41 +00:00
Gustavo J. A. M. Carneiro
e839c44bd7
Modular bindings: before scanning a module, check that xxx-module.h exists, skip the scanning if it doesn't
2011-03-20 17:56:06 +00:00
Gustavo J. A. M. Carneiro
6a29a6bd0a
Modular bindings: add support for the apiscan target 'all', that means scan all ns-3 modules
2011-03-20 15:41:43 +00:00
Gustavo J. A. M. Carneiro
259cf3703b
Add OLSR modular bindings
2011-03-20 15:17:09 +00:00
Gustavo J. A. M. Carneiro
ba1990146c
Bug 1076 - Waf gives an error if you enable only a single module
2011-03-20 13:01:40 +00:00
Gustavo J. A. M. Carneiro
ffbc5737b3
Bug 1075 - Python examples fail when static built is enabled
2011-03-20 12:18:15 +00:00
Mitch Watrous
28384516a2
Create separate module and test-module libraries
2011-03-18 10:58:21 -07:00
Gustavo J. A. M. Carneiro
6015e64410
Modular bindings: handle module names with hyphens
2011-03-13 18:38:59 +00:00
Gustavo J. A. M. Carneiro
3af457ddd3
Fix: The compat. ns3.py module is not needed when --bindings-type=both
2011-03-13 18:15:28 +00:00
Gustavo J. A. M. Carneiro
1c491c980c
Modular bindings: waf dep. fix.
2011-03-13 17:56:59 +00:00
Gustavo J. A. M. Carneiro
644c788a1b
Modular bindings: generate a compatibility 'ns3' module that imports the modular bindings
2011-03-13 16:03:33 +00:00
Gustavo J. A. M. Carneiro
089fbdcb5c
Modular Python bindings work (many bug fixes, more modules tested)
2011-03-12 18:34:30 +00:00
Gustavo J. A. M. Carneiro
3bf4de0515
Document in the --bindings-type waf option that modular bindings are experimental
2011-03-08 15:33:55 +00:00
Gustavo J. A. M. Carneiro
fe00899bdc
merge
2011-03-08 12:46:53 +00:00
Gustavo J. A. M. Carneiro
caa4f7c3e5
Fix Python scanning to allow apidefs to be placed on the right module instead of the main ns3module.cc file, for new-style modules
2011-01-31 19:03:19 +00:00
Gustavo J. A. M. Carneiro
311a734e87
Start of work on modular Python bindings, unstable
2010-11-07 23:17:52 +00:00
Tom Henderson
8f58376360
Help waf to guess release versions of nsc and pybindgen
2010-08-20 12:17:19 -07:00
Gustavo J. A. M. Carneiro
23e3e770ae
Update pybindgen version
2010-08-15 21:20:24 -07:00
Gustavo J. A. M. Carneiro
aea9e883e1
Update pybindgen version
2010-08-10 15:06:35 +01:00
Gustavo J. A. M. Carneiro
0338e82c40
Allow headers to be in subdirectories with respect to wscript
2010-07-02 12:45:09 -07:00
Gustavo J. A. M. Carneiro
d2d68087d6
python-scan: avoid possible deadlock passing list of modules to the api scanner process
2010-06-13 16:34:15 +01:00
Gustavo J. A. M. Carneiro
ce0dabd900
Fix Python bindings ns3.Object subclassing bug
2010-05-06 14:21:20 +01:00
Gustavo J. A. M. Carneiro
70feac23e4
update pybindgen version
2010-04-21 08:39:57 -04:00
Gustavo J. A. M. Carneiro
cbfc1009da
Upgrade pybindgen to fix the MI problem (bug #877 )
2010-04-16 12:59:22 +01:00
Gustavo J. A. M. Carneiro
478d8f35dd
Add option to enable gcc precompiled header for compiling python bindings
2010-03-17 12:34:52 +00:00
Gustavo J. A. M. Carneiro
ecc1df19d5
Realign Python ns3.Object constructors with C++
...
The Python constructors are now parameter oriented instead of attribute oriented.
The main motivation for this change is that Python bindings become broken with new Object types being introduced that do not have a default constructor (constructor without parameters). Another reason is to shorten the gap between C++ and Python, API-wise--the more similar they are, the less confusing it becomes.
2010-03-17 11:18:55 +00:00
Gustavo J. A. M. Carneiro
07c268b53a
Upgrade pybindgen to fix the any() bug (Python <= 2.4)
2010-02-03 18:09:25 +00:00
Gustavo J. A. M. Carneiro
c20ea3edb3
Upgrade waf from 1.5.9 to 1.5.11
2010-02-01 14:27:08 +00:00