swig/Examples/python/import_packages
Olly Betts c7af8eabb3 Default to running tests with Python 3
Specify PY2=1 to use Python 2.

See #1779
Closes #2235
2022-03-17 18:55:10 +13:00
..
from_init1 Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
from_init2 Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
from_init3 Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
module_is_init Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
namespace_pkg Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
relativeimport1 Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
relativeimport2 Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
relativeimport3 Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
same_modnames1 Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
same_modnames2 Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
split_modules Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
Makefile Add example to test the Python module being renamed to __init__.py 2018-12-08 22:31:26 +00:00
README Examples (and tests) for python namespace packages 2016-04-05 10:58:50 -06:00

These are actually regression tests for SF bug #1297 (GH issue #7).
The namespace_pkg is an example of python3's namespace packages.

See individual READMEs in subdirectories.