diff --git a/Examples/python/import_packages/Makefile b/Examples/python/import_packages/Makefile index d46e1e098..f428d6f5c 100644 --- a/Examples/python/import_packages/Makefile +++ b/Examples/python/import_packages/Makefile @@ -12,13 +12,13 @@ import_packages_subdirs = \ relativeimport2 \ relativeimport3 \ split_modules \ - namespace_pkg + namespace_pkg check: build if test "x$(SRCDIR)" != x; then \ for file in `cd $(SRCDIR) && find . -type f -name "*.py"`; do \ - mkdir -p `dirname $$file`; \ + mkdir -p `dirname $$file`; \ cp "${SRCDIR}$$file" "$$file" || exit 1; \ done; \ fi; \ diff --git a/Examples/python/import_packages/split_modules/README b/Examples/python/import_packages/split_modules/README index af568024f..6fb61d399 100644 --- a/Examples/python/import_packages/split_modules/README +++ b/Examples/python/import_packages/split_modules/README @@ -13,5 +13,3 @@ vanilla_split # python 1/2 in pkg1 C 1/2 in global namespace builtin # both halves in pkg1 (-builtin passed to swig) builtin # python 1/2 in pkg1 C 1/2 in global namespace (with -builtin) - All of the _nopy3 tests are the same as the above except swig will not -use -py3 for python3. diff --git a/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i b/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i +++ b/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); diff --git a/Examples/python/import_packages/split_modules/builtin_split/foo.i b/Examples/python/import_packages/split_modules/builtin_split/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/builtin_split/foo.i +++ b/Examples/python/import_packages/split_modules/builtin_split/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); diff --git a/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i b/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i +++ b/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); diff --git a/Examples/python/import_packages/split_modules/vanilla_split/foo.i b/Examples/python/import_packages/split_modules/vanilla_split/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/vanilla_split/foo.i +++ b/Examples/python/import_packages/split_modules/vanilla_split/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void);