Require new PyBindGen; make it work for Python 2.3.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 22 Jul 2008 16:54:24 +0100
changeset 34736bce86ea4778
parent 3472 190ce8107098
child 3474 dac9146297c8
Require new PyBindGen; make it work for Python 2.3.
bindings/python/ns3modulegen.py
bindings/python/ns3modulegen_core_customizations.py
bindings/python/wscript
     1.1 --- a/bindings/python/ns3modulegen.py	Mon Jul 21 15:53:03 2008 -0700
     1.2 +++ b/bindings/python/ns3modulegen.py	Tue Jul 22 16:54:24 2008 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  from pybindgen.module import MultiSectionFactory
     1.5  import pybindgen.settings
     1.6  
     1.7 -from ns3modulegen_generated import (module_init, register_types, register_methods, register_functions)
     1.8 +from ns3modulegen_generated import module_init, register_types, register_methods, register_functions
     1.9  import ns3modulegen_core_customizations
    1.10  import callbacks_list
    1.11  
     2.1 --- a/bindings/python/ns3modulegen_core_customizations.py	Mon Jul 21 15:53:03 2008 -0700
     2.2 +++ b/bindings/python/ns3modulegen_core_customizations.py	Tue Jul 22 16:54:24 2008 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  import re
     2.5  
     2.6  from pybindgen.typehandlers import base as typehandlers
     2.7 -from pybindgen import (ReturnValue, Parameter)
     2.8 +from pybindgen import ReturnValue, Parameter
     2.9  from pybindgen.cppmethod import CustomCppMethodWrapper, CustomCppConstructorWrapper
    2.10  from pybindgen.typehandlers.codesink import MemoryCodeSink
    2.11  from pybindgen.typehandlers import ctypeparser
     3.1 --- a/bindings/python/wscript	Mon Jul 21 15:53:03 2008 -0700
     3.2 +++ b/bindings/python/wscript	Tue Jul 22 16:54:24 2008 +0100
     3.3 @@ -21,7 +21,7 @@
     3.4      os.environ['PYTHONPATH'] = LOCAL_PYBINDGEN_PATH
     3.5  
     3.6  ## https://launchpad.net/pybindgen/
     3.7 -REQUIRED_PYBINDGEN_VERSION = (0, 8, 0, 511)
     3.8 +REQUIRED_PYBINDGEN_VERSION = (0, 8, 0, 515)
     3.9  REQUIRED_PYGCCXML_VERSION = (0, 9, 5)
    3.10  
    3.11  
    3.12 @@ -93,7 +93,7 @@
    3.13      ## Check for Python
    3.14      try:
    3.15          conf.check_tool('python')
    3.16 -        conf.check_python_version((2,4,2))
    3.17 +        conf.check_python_version((2,3))
    3.18          conf.check_python_headers()
    3.19      except Configure.ConfigurationError:
    3.20          return