Added __init__.py file to Python package.

This commit is contained in:
Matthias Koefferlein 2018-07-15 19:33:44 +00:00
parent 8c63069697
commit 9dcfa140c3
2 changed files with 13 additions and 6 deletions

View File

@ -294,10 +294,12 @@ rdb = Extension(config.root + '.rdb',
# ------------------------------------------------------------------
# Core setup function
setup (name = config.root,
version = config.version(),
description = 'KLayout standalone Python package',
author = 'Matthias Koefferlein',
author_email = 'matthias@klayout.de',
ext_modules = [ _tl, _gsi, _pya, _db, _rdb ] + db_plugins + [ tl, db, rdb ])
setup(name = config.root,
version = config.version(),
description = 'KLayout standalone Python package',
author = 'Matthias Koefferlein',
author_email = 'matthias@klayout.de',
packages = [ config.root ],
package_dir = { config.root: 'src/pymod/distutils_src' },
ext_modules = [ _tl, _gsi, _pya, _db, _rdb ] + db_plugins + [ tl, db, rdb ])

View File

@ -0,0 +1,5 @@
# klayout library definition file
__all__ = [ "tl", "db", "lay", "rdb" ]