mirror of https://gitlab.com/ita1024/waf.git
Issue 1462 - Swig file installation example
This commit is contained in:
parent
d246665be2
commit
7f2cc4ef42
|
@ -74,7 +74,9 @@ def build(bld):
|
|||
vnum = '1.2.3',
|
||||
use = 'mylib')
|
||||
|
||||
bld.install_files('${PREFIX}/lib', 'extend/python/test_swig_waf.py')
|
||||
python_site_package = '${PREFIX}/lib/python%s/site-packages' % bld.env.PYTHON_VERSION
|
||||
bld.install_files(python_site_package, 'extend/python/test_swig_waf.py')
|
||||
bld.install_files(python_site_package, 'embed/swigdemo.py')
|
||||
|
||||
bld.add_post_fun(exec_test_python)
|
||||
|
||||
|
|
Loading…
Reference in New Issue