Initial revision
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
202c34c014
commit
06cf7b80ba
1 changed files with 15 additions and 0 deletions
15
SWIG/Examples/C++/test_conf.py.in
Normal file
15
SWIG/Examples/C++/test_conf.py.in
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Copyright (C) 2000 Tal Shalif
|
||||||
|
# The path hack is by ttn, who doesn't really grok Python...
|
||||||
|
|
||||||
|
import sys
|
||||||
|
# print '(1) sys.path = ', sys.path
|
||||||
|
a = ['@ROOT_DIR@/Examples/C++/Python']
|
||||||
|
a.extend (sys.path)
|
||||||
|
sys.path = a
|
||||||
|
# print '(2) sys.path = ', sys.path
|
||||||
|
|
||||||
|
from cpptest import *
|
||||||
|
#import sys
|
||||||
|
import types
|
||||||
|
|
||||||
|
# test_conf.py ends here
|
||||||
Loading…
Add table
Add a link
Reference in a new issue