commit | 51dadaeacde6de32ab945ef0c930e1f3d95f2ae0 | [log] [tgz] |
---|---|---|
author | William S Fulton <wsf@fultondesigns.co.uk> | Sat Dec 08 22:31:26 2018 +0000 |
committer | William S Fulton <wsf@fultondesigns.co.uk> | Sat Dec 08 22:31:26 2018 +0000 |
tree | 9a7b14bd519f58823966e6178291e852dcf2639f | |
parent | b19d3e06b3132b0c212fd2fb8c2ceb5cc1cac263 [diff] |
Add example to test the Python module being renamed to __init__.py 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