# HG changeset patch # User Gustavo J. A. M. Carneiro # Date 1216742064 -3600 # Node ID 6bce86ea477826837a6a629cf747575cd4c0907d # Parent 190ce81070985600f17ba8cf435651a4b78e9d09 Require new PyBindGen; make it work for Python 2.3. diff -r 190ce8107098 -r 6bce86ea4778 bindings/python/ns3modulegen.py --- a/bindings/python/ns3modulegen.py Mon Jul 21 15:53:03 2008 -0700 +++ b/bindings/python/ns3modulegen.py Tue Jul 22 16:54:24 2008 +0100 @@ -12,7 +12,7 @@ from pybindgen.module import MultiSectionFactory import pybindgen.settings -from ns3modulegen_generated import (module_init, register_types, register_methods, register_functions) +from ns3modulegen_generated import module_init, register_types, register_methods, register_functions import ns3modulegen_core_customizations import callbacks_list diff -r 190ce8107098 -r 6bce86ea4778 bindings/python/ns3modulegen_core_customizations.py --- a/bindings/python/ns3modulegen_core_customizations.py Mon Jul 21 15:53:03 2008 -0700 +++ b/bindings/python/ns3modulegen_core_customizations.py Tue Jul 22 16:54:24 2008 +0100 @@ -1,7 +1,7 @@ import re from pybindgen.typehandlers import base as typehandlers -from pybindgen import (ReturnValue, Parameter) +from pybindgen import ReturnValue, Parameter from pybindgen.cppmethod import CustomCppMethodWrapper, CustomCppConstructorWrapper from pybindgen.typehandlers.codesink import MemoryCodeSink from pybindgen.typehandlers import ctypeparser diff -r 190ce8107098 -r 6bce86ea4778 bindings/python/wscript --- a/bindings/python/wscript Mon Jul 21 15:53:03 2008 -0700 +++ b/bindings/python/wscript Tue Jul 22 16:54:24 2008 +0100 @@ -21,7 +21,7 @@ os.environ['PYTHONPATH'] = LOCAL_PYBINDGEN_PATH ## https://launchpad.net/pybindgen/ -REQUIRED_PYBINDGEN_VERSION = (0, 8, 0, 511) +REQUIRED_PYBINDGEN_VERSION = (0, 8, 0, 515) REQUIRED_PYGCCXML_VERSION = (0, 9, 5) @@ -93,7 +93,7 @@ ## Check for Python try: conf.check_tool('python') - conf.check_python_version((2,4,2)) + conf.check_python_version((2,3)) conf.check_python_headers() except Configure.ConfigurationError: return