Require new PyBindGen; make it work for Python 2.3.

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-07-22 16:54:24 +01:00
parent c415957dfc
commit b9722796d7
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ from pybindgen import FileCodeSink, write_preamble
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

View File

@@ -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

View File

@@ -21,7 +21,7 @@ else:
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 @@ def configure(conf):
## 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