Build fixes.

Bumping pymod version to 0.26.0.dev1
Improvements to pypi package.
Attempting to build macos10.11 version with py3.
This commit is contained in:
Thomas Ferreira de Lima 2018-10-07 12:51:37 -04:00
parent a7a01ac09a
commit c36bd53d5b
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
2 changed files with 13 additions and 10 deletions

View File

@ -58,7 +58,7 @@ matrix:
os: osx os: osx
osx_image: xcode8 # macOS 10.11 osx_image: xcode8 # macOS 10.11
env: env:
- MATRIX_EVAL="rvm list; rvm use ruby-2.3.0; brew install python3; brew unlink python && brew link --overwrite python;" - MATRIX_EVAL="rvm list; rvm use ruby-2.3.0; brew install python3; brew unlink python && brew link --overwrite python3;"
- ARCHFLAGS="-std=c++11" - ARCHFLAGS="-std=c++11"
- PIP_UPDATE="1" - PIP_UPDATE="1"
- PYTHON_BUILD=true - PYTHON_BUILD=true

View File

@ -191,7 +191,7 @@ class Config(object):
""" """
Gets the version string Gets the version string
""" """
return "0.26.0.dev0" return "0.26.0.dev1"
config = Config() config = Config()
@ -346,11 +346,14 @@ rdb = Extension(config.root + '.rdb',
# Core setup function # Core setup function
if __name__ == '__main__': if __name__ == '__main__':
setup(name = config.root, setup(name=config.root,
version = config.version(), version=config.version(),
description = 'KLayout standalone Python package', license='GNU GPLv3',
author = 'Matthias Koefferlein', description='KLayout standalone Python package',
author_email = 'matthias@klayout.de', long_description='TODO',
packages = [config.root], author='Matthias Koefferlein',
package_dir = {config.root: 'src/pymod/distutils_src'}, author_email='matthias@klayout.de',
ext_modules = [_tl, _gsi, _pya, _db, _rdb] + db_plugins + [tl, db, rdb]) url='https://github.com/klayoutmatthias/klayout',
packages=[config.root],
package_dir={config.root: 'src/pymod/distutils_src'},
ext_modules=[_tl, _gsi, _pya, _db, _rdb] + db_plugins + [tl, db, rdb])