Commit Graph

5241 Commits

Author SHA1 Message Date
Matthias Koefferlein 35d9cdb656 Reworked Python initialization
KLAYOUT_PYTHONPATH is copied into PYTHONPATH, so it
is essentially equivalent (no more copying of internally
generated paths).

The installation's pymod folder is added to the path, so
that we can put "klayout.db" etc. there.
2023-03-08 01:15:53 +01:00
Matthias Koefferlein 0204f293b5 Generic environment set/clear functions, file function to get app exe path 2023-03-08 00:52:42 +01:00
Matthias Koefferlein a8e0a54011 Preparing for integrated python module (Linux) 2023-03-07 23:45:05 +01:00
Matthias Koefferlein ee58ca6e61 Preparing for integrated python module (Windows) 2023-03-07 23:44:52 +01:00
Matthias Koefferlein 3e53431d92 Preparing for integrated python module (Mac) 2023-03-07 23:44:39 +01:00
Matthias Koefferlein c3e831f96f Enhancing pymod tests (added lib, more robust, added pya also for Qt bindings off) 2023-03-07 23:44:12 +01:00
Matthias Koefferlein 3e8f03ef5f Synchronizing Python PCellDeclarationHelper between the two implementations (for standalone module + build-in for app) 2023-03-07 23:43:12 +01:00
Matthias Koefferlein 7d0964655d Experimental: allow importing klayout.x pymods into KLayout itself. 2023-03-06 23:51:58 +01:00
Matthias Koefferlein 9cfc284b8c Synonyms: connect/disconnect for events to get closer to PyQt5 2023-03-06 23:04:55 +01:00
Matthias Koefferlein 1b3e8e14c5 Netlist reader: anonymous circuits are not checked for known parameters 2023-03-06 22:38:10 +01:00
Matthias Koefferlein 87e2def285 Include version folder in python module sources 2023-03-04 22:38:38 +01:00
Matthias Koefferlein feb50f49dd Enabling some more PNG related features by falling back to Qt without libpng 2023-03-04 20:32:44 +01:00
Matthias Köfferlein 2facc75807
Merge pull request #1305 from KLayout/issue-1304
Fixed issue #1304 (terminal order for MOS devices)
2023-03-04 19:32:46 +01:00
Matthias Köfferlein f413635deb
Merge pull request #1303 from KLayout/issue-1302
Implemented solution for issue #1302 (Select filter is not applied in…
2023-03-04 19:32:29 +01:00
Matthias Köfferlein addb7148f6
Merge pull request #1301 from KLayout/wip
Wip
2023-03-04 19:32:06 +01:00
Matthias Köfferlein 3e325763d9
Merge pull request #1296 from KLayout/issue-1271
Issue 1271
2023-03-04 19:31:39 +01:00
Matthias Koefferlein 983ab9800a Fixed tests 2023-03-03 23:38:25 +01:00
Matthias Koefferlein c94079ddec Fixed pya pymod tests 2023-03-03 22:55:52 +01:00
Matthias Koefferlein 1b13d8b591 Merge branch 'master' into issue-1271 2023-03-03 18:42:53 +01:00
Matthias Koefferlein 9335ef8c21 Fixed builds on MSVC 2023-03-03 18:00:24 +01:00
Matthias Koefferlein b78b9e0681 Disabling a test to make Azure pipeline run (next attempt) 2023-03-02 12:36:13 +01:00
Matthias Koefferlein b5627b458c Disabling a test to make Azure pipeline run 2023-03-02 10:08:15 +01:00
Matthias Koefferlein 418d37ca63 Fixing test pya_import tests to execute sequentially - maybe that fixes the Azure build fails with deadlocking unit test runners 2023-03-01 23:45:56 +01:00
Matthias Koefferlein 00a1c829ff Fixed indentation in azure-pipelines.yml 2023-03-01 22:45:58 +01:00
Matthias Köfferlein e8a2adbe8c Trying to solve hanging issue on pymod tests 2023-03-01 22:44:02 +01:00
Matthias Koefferlein 6db6e77458 Tired of patching around __version__ ...
This doesn't work. Either Python is too old, import_metadata
isn't there or Azure pipelines do not support that.
Stopping that. Good old plain C++ is still the best solution.
Take that dynamic language hackers!
2023-03-01 00:50:30 +01:00
Matthias Koefferlein c5d6889721 Trying to fix Azure builds 2023-02-28 23:32:16 +01:00
Matthias Koefferlein ba76b2ee60 Trying to fix stuck azure pipeline 2023-02-28 13:14:11 +01:00
Matthias Koefferlein 28883ee383 Updated golden test data 2023-02-28 00:22:34 +01:00
Matthias Koefferlein 4d2168a1ff New test data variants 2023-02-27 23:41:23 +01:00
Matthias Koefferlein a4c9be5536 Updated test data 2023-02-27 22:34:45 +01:00
Matthias Koefferlein 4a37033ba1 New test data 2023-02-27 22:05:20 +01:00
Matthias Koefferlein 4ead7b46a1 Test updates 2023-02-27 21:27:19 +01:00
Matthias Köfferlein 3788721b80
Merge pull request #1306 from KLayout/issue-1249-2
Refining solution for issue-1249: properly reading the edge we projec…
2023-02-27 20:50:26 +01:00
Matthias Koefferlein 2236ced5ae Refining solution for issue-1249: properly reading the edge we project to in single-edge partial move mode 2023-02-27 20:49:45 +01:00
Matthias Koefferlein af647e2efd Test updates 2023-02-27 19:37:59 +01:00
Matthias Koefferlein 1ce221794b More test data updates 2023-02-27 01:08:37 +01:00
Matthias Koefferlein ceb82a15d8 Fixed merge issues 2023-02-27 00:27:23 +01:00
Matthias Koefferlein ebcf242a9e Merge branch 'more-spice' into issue-1304 2023-02-27 00:21:20 +01:00
Matthias Koefferlein 69d975c736 Update to test data 2023-02-27 00:19:14 +01:00
Matthias Koefferlein 0fa9bc6e2b Fixed issue #1304 (terminal order for MOS devices) 2023-02-26 23:30:17 +01:00
Matthias Koefferlein 90cf06b3ac More precise help text for generic reader options. 2023-02-26 21:57:04 +01:00
Matthias Koefferlein 3ac1385d87 Another testcase for Spice reader with parametric subcircuits, .param statements, bug fixes 2023-02-26 21:31:34 +01:00
Matthias Koefferlein 2e3c859cd3 Specified release version for Spice reader enhancements 2023-02-26 19:52:05 +01:00
Matthias Koefferlein a6dc305a2e Merge branch 'master' into more-spice 2023-02-26 19:51:09 +01:00
Matthias Koefferlein 82b372ab14 Implemented solution for issue #1302 (Select filter is not applied in partial mode) 2023-02-26 17:07:04 +01:00
Matthias Koefferlein 8cfcff71c6 Merge branch 'master' into wip 2023-02-25 15:56:36 +01:00
Matthias Koefferlein 04626f9c2b python module: import klayout.lay implies klayout.db now to always enable stream readers 2023-02-25 12:14:19 +01:00
Matthias Koefferlein 3bef4917ad Fixed doc publishing Jenkinsfile 2023-02-24 18:33:24 +01:00
Matthias Koefferlein 3ac791234a Adjusting Jenkinsfiles to Linux cluster 2023-02-24 14:47:23 +01:00