Commit Graph

52 Commits

Author SHA1 Message Date
Matthias Koefferlein 14e2d9f632 Updated version in setup.py to trigger PyPI update. 2019-03-29 00:56:44 +01:00
Matthias Koefferlein 522156b467 Renamed generated .cc files (fonts, glyphs) so they don't need to be excluded in pymod builds. 2019-03-22 07:26:51 +01:00
Thomas Ferreira de Lima 0e6c023062
bumping python version to 0.26.0.dev12 2019-02-04 11:45:54 -05:00
Matthias Koefferlein d2d28bc613 Merge branch 'master' of https://github.com/KLayout/klayout 2019-01-08 00:59:09 +01:00
Matthias Koefferlein b0d7f5f7f5 Updated copyright. 2019-01-08 00:58:45 +01:00
Thomas Ferreira de Lima df7f3de1a1
adding classifiers to setup.py
I read in the PyPI user manual it was recommended.
2019-01-04 15:45:27 -05:00
Thomas Ferreira de Lima 7deea27069
changing version to 0.26.0.dev11, release pypi wheels after merging #218 2019-01-02 13:51:18 -05:00
Thomas Ferreira de Lima 8495a18023
changing version to 0.26.0.dev10 2018-12-20 16:10:55 -05:00
Thomas Ferreira de Lima f1e292373f
Changing version to 0.26.0.dev9 for CD tests 2018-12-20 16:10:55 -05:00
Thomas Ferreira de Lima b06fe5817d
ThreadPool.imap stopped working in py 3.7.1 2018-12-18 18:07:26 -05:00
Matthias Koefferlein 304cd20bc7 Updated dev version in setup.py to force PyPI deployment 2018-11-24 01:02:04 +01:00
Matthias Köfferlein 1150ffbbb1
Merge branch 'pymod' into pymod-splitting 2018-10-22 18:15:02 +02:00
Thomas Ferreira de Lima ecc90ab4db
attempt to solve the libname_of computation for all platforms 2018-10-20 23:46:12 -04:00
Thomas Ferreira de Lima a0c3b095a2
fixing dbpi library names 2018-10-20 17:21:00 -04:00
klayoutmatthias 79871f6bab Fixed setup.py for Linux (and maybe for MacOS too)
- Added "lib" prefix for libraries
- Forced setuptools to produce shared objects for the
  libraries - otherwise it will produce static libs
2018-10-20 20:44:56 +00:00
Thomas Ferreira de Lima 87a49007ff
Fixing distutils_src folder structure due to setuptools bug
Also: adding PCellDeclarationHelper to klayout.db
2018-10-19 18:53:37 -04:00
Thomas Ferreira de Lima d3fa4465f6
Renaming core modules to klayout.dbcore, klayout.rdbcore and klayout.tlcore 2018-10-19 17:55:56 -04:00
Matthias Koefferlein a57b855e12 Updated version to check CD 2018-10-18 23:29:51 +02:00
klayoutmatthias e452a4305c setup.py changes for MSVC builds
- Using "Library" rather than "Extension" for building shared libs
  (does not try to export extension-specific symbols)
- Linking against import libs
- Using os.path.join consistently for backslash/slash difference
2018-10-18 09:41:38 +02:00
Matthias Köfferlein 1cb982cf6a
Merge pull request #184 from lightwave-lab/pymod-pip
Pymod Creating pip package
2018-10-10 22:19:42 +02:00
Thomas Ferreira de Lima a2e357cf9c
testing new compile flags 2018-10-09 17:39:03 -04:00
Thomas Ferreira de Lima e7ebd88b2c
critical bugfix for pymod (db plugins failed to import)
Cause: dbInit.cc:133 hardcodes the macos extension for shared libraries ('.dylib'), but setuptools builds it with '.so'.

Current solution: Since the main build's qmake respects the dylib standard, I've adapted setuptools to use '.dylib'.
2018-10-09 17:31:57 -04:00
Thomas Ferreira de Lima 7852634ffa
bugfix for setup.py sdist 2018-10-09 17:31:53 -04:00
Thomas Ferreira de Lima c36bd53d5b
Build fixes.
Bumping pymod version to 0.26.0.dev1
Improvements to pypi package.
Attempting to build macos10.11 version with py3.
2018-10-07 12:52:42 -04:00
Thomas Ferreira de Lima a7a01ac09a
changing pymod version to 0.26.0.dev0 (read commit message)
I am going to test uploading klayout as module to pypi, but it requires unique naming. Therefore, there can only be one klayout-0.26.0 version. Only stable versions ("releases") should ever be uploaded. bugfix-patched versions should be named 0.26.0.post1 etc.
2018-10-06 21:22:08 -04:00
Thomas Ferreira de Lima c6f1cfbae8
adding -std=c++0x flag to linux pymod builds 2018-09-22 12:45:43 -04:00
Matthias Köfferlein f7664c09d5 Windows build script and setup.py for Anaconda (install needs testing). 2018-09-13 01:11:18 +02:00
Matthias Köfferlein 28f8a1ee7d Merge branch 'pymod' into pymod-msvc 2018-09-07 22:56:22 +02:00
Matthias Köfferlein 356a468d66 A couple of changes to make MSVC work - not done yet. 2018-09-02 00:40:35 +02:00
Thomas Ferreira de Lima ebf0ae52b4
python2.6 fix for setup.py 2018-08-01 23:45:34 -04:00
Thomas Ferreira de Lima 51e377cc87
disabling multithreaded build_ext for python 2.6 2018-08-01 22:29:35 -04:00
Thomas Ferreira de Lima b0c69d8fe4
capping the number of threads to 8 2018-08-01 20:25:16 -04:00
Thomas Ferreira de Lima 18518353ba
testing with more threads for travis ubuntu 2018-08-01 20:13:32 -04:00
Thomas Ferreira de Lima 8cbb76fff6
limiting number of threads to 4 2018-08-01 19:54:35 -04:00
Thomas Ferreira de Lima c8589d6ccb
Using native cpu count for multiprocessing acceleration of pymod build 2018-08-01 15:58:53 -04:00
Thomas Ferreira de Lima 98d66725eb
adding multithreaded extension build for setup.py 2018-07-31 19:06:20 -04:00
Daniel Wang bb9fc86735
Add .so extension if ext_suffix is None 2018-07-19 19:02:37 -04:00
Daniel Wang 5e1db92102
Continue even if ext_suffix is None 2018-07-19 18:43:58 -04:00
Daniel Wang 9aa796422e
Print sysconfig location 2018-07-19 18:34:28 -04:00
Matthias Koefferlein 3dd55bdd2a setup.py updated with correct loading path of Linux (thanks, @atait) 2018-07-18 19:11:36 +00:00
Matthias Koefferlein 64625dcbda Fixed setup.py for use with Linux
The equivalent to @loader_path (Mac) is $ORIGIN on Linux.
I have removed the rpath specification as it was simply wrong
with setuptools.
2018-07-16 23:44:30 +00:00
Thomas Ferreira de Lima 8330415b29 adding rpath to all libraries 2018-07-16 01:52:51 -04:00
Thomas Ferreira de Lima e1dcaf469e converting to 4-spaces, PEP8 format 2018-07-16 01:16:36 -04:00
Thomas Ferreira de Lima 7540da8c32 changing to setuptools and fixing macOS linking 2018-07-16 01:12:11 -04:00
Matthias Koefferlein 9dcfa140c3 Added __init__.py file to Python package. 2018-07-15 19:33:44 +00:00
Matthias Koefferlein 106879e344 Fixed setup.py after recent update 2018-07-15 18:05:10 +00:00
Matthias Koefferlein d3b4bc7f87 Enabled pymod build via setup.py/distutils on MacOS 2018-07-15 07:42:01 -07:00
Matthias Koefferlein c4351185b1 Development of setup.py: added db_plugin building. 2018-07-15 10:52:59 +00:00
Matthias Koefferlein 62016697b0 Further development of setup.py 2018-07-15 10:12:05 +00:00
Matthias Koefferlein 144ca87383 Even more generalization for setup.py 2018-07-14 22:42:18 +00:00