2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 19:30:04 +01:00

Issue 1462 - Swig file installation example

This commit is contained in:
Thomas Nagy 2014-09-20 11:19:19 +02:00
parent d246665be2
commit 7f2cc4ef42
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

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