summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLumir Balhar <lbalhar@redhat.com>2016-10-19 20:26:22 +0200
committerAndrew Bartlett <abartlet@samba.org>2016-12-01 05:54:21 +0100
commit358eaf810edd59cb16e95d77967a7b37ecf6bb94 (patch)
tree614bf590f41d1d818f26b0545f083c68b1e79415
parentc503ca302d4f9dd0fc9c01344a25a917f6c3fafe (diff)
downloadsamba-358eaf810edd59cb16e95d77967a7b37ecf6bb94.tar.gz
python: wscript_build: Prepare build environment for Python 3 porting
Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
-rw-r--r--python/wscript_build12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/wscript_build b/python/wscript_build
index 01ac362d475..5ab0d7d07dc 100644
--- a/python/wscript_build
+++ b/python/wscript_build
@@ -22,10 +22,10 @@ bld.SAMBA_PYTHON('python_glue',
realname='samba/_glue.so'
)
+for env in bld.gen_python_environments():
+ # install out various python scripts for use by make test
+ bld.SAMBA_SCRIPT('samba_python_files',
+ pattern='samba/**/*.py',
+ installdir='python')
-# install out various python scripts for use by make test
-bld.SAMBA_SCRIPT('samba_python_files',
- pattern='samba/**/*.py',
- installdir='python')
-
-bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)
+ bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)