summaryrefslogtreecommitdiff
path: root/Examples/python/import_packages/module_is_init
Commit message (Collapse)AuthorAgeFilesLines
* Update everything for dropping Python 3.2 supportOlly Betts2022-07-191-8/+0
|
* Modify examples to be both Python 2 and 3 compatibleWilliam S Fulton2020-08-151-4/+4
| | | | For removing dependency on 2to3
* Add example to test the Python module being renamed to __init__.pyWilliam S Fulton2018-12-086-0/+94
This examples tests the SWIG generated module being placed into a directory and then renamed __init__.py to convert the module into a package. This ability stopped working in swig-3.0.9. However, only Python 2.7 or 3.3 and later work. If Python 3.2 support is needed, use moduleimport in %module to customise the import code. Issue #1282