#!C:/Python26/python.exe

import os

from pyplusplus import module_builder

# Permit functions with up to 30 arguments
# DEFINES = [ "BOOST_PYTHON_MAX_ARITY=30" ]
# pyplusplus.decl_wrappers.calldef_wrapper.calldef_t()

mb = module_builder.module_builder_t(
        files=['test1.h'],
        gccxml_path='C:/Program Files/gccxml 0.9/bin/gccxml.exe')

# include one class
base = mb.class_('Base')
base.include()

mb.print_declarations()

mb.build_code_creator( module_name='test_mod' )

# Don't want absolute includes within code
# mb.code_creator.user_defined_directories.append( os.path.abspath('.') )

mb.split_module( os.path.join(os.path.abspath('.'), 'wrap_test'))

print "foo"

