Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/StatisKit/AutoWIG
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Sep 19, 2017
2 parents 69186b4 + 776d7a5 commit 161c07f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/py/autowig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@
"""
"""

import warnings

from .asg import AbstractSemanticGraph, visitor
visitor.plugin = 'all'

from ._parser import parser
if 'clanglite' in parser:
parser.plugin = 'clanglite'
else:
elif 'libclang' in parser:
parser.plugin = 'libclang'
else:
warnings.warn("no parser implemented", RuntimeWarning)

from ._documenter import documenter
documenter.plugin = 'doxygen2sphinx'
Expand All @@ -48,4 +52,4 @@
boost_python_decorator.proxy = 'default'

from ._generator import generator
generator.plugin = 'boost_python'
generator.plugin = 'boost_python'

0 comments on commit 161c07f

Please sign in to comment.