From 397432f81e32f5494f5fe855cdffb722a7904ebe Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Wed, 14 Aug 2019 22:20:01 +0200 Subject: [PATCH] Simplify the Python examples --- demos/python/wscript | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/demos/python/wscript b/demos/python/wscript index 07b071d5..0d662b63 100644 --- a/demos/python/wscript +++ b/demos/python/wscript @@ -52,19 +52,17 @@ def build(bld): # Install files keeping their directory structure (default: relative_trick=True) # - # This will create two files: - # * lib/python2.7/site-packages/nested_scripts/bar/nested_bar.py + # This will create: # * lib/python2.7/site-packages/nested_scripts/foo/nested_foo.py bld(features='py', - source=bld.path.ant_glob('nested_scripts/**/*.py'), + source=bld.path.ant_glob('nested_scripts/foo/*.py'), install_from='.') # Install files flatting the directory structure (relative_trick=False) # - # This will create two files: + # This will create: # * lib/python2.7/site-packages/nested_bar.py - # * lib/python2.7/site-packages/nested_foo.py bld(features='py', - source=bld.path.ant_glob('nested_scripts/**/*.py'), + source=bld.path.ant_glob('nested_scripts/bar/*.py'), relative_trick=False, install_from='.')