Commit Graph

1028 Commits

Author SHA1 Message Date
Daniel Wang c430c82744
Merge branch 'pymod' of https://github.com/klayoutmatthias/klayout into pymod 2018-07-19 19:23:00 -04:00
Daniel Wang bb9fc86735
Add .so extension if ext_suffix is None 2018-07-19 19:02:37 -04:00
Daniel Wang dfa1995f5a
Make alias work on Travis for Mac OS 2018-07-19 18:55:45 -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
Daniel Wang 24f9f44227
Revert installing sysconfig 2018-07-19 18:27:07 -04:00
Daniel Wang ca6d82f9b7
Install sysconfig using pip 2018-07-19 18:24:55 -04:00
Matthias Koefferlein 5fe0aca9c7 Fixed a segfault on help(pya.Box)
Needed to refactor the class hierarchy of the Python classes.
Basically the module specific base class was removed as it does
not provide any benefit. The object layout of the PyObject
specialization was modified such that the payload is attached
to the end. This is compatible with the hidden extensions
which Python adds to normal objects.
2018-07-19 23:50:24 +02:00
Daniel Wang 5b5f1a050d
Fixed missing language declarations in travis.yml 2018-07-19 17:44:48 -04:00
Daniel Wang 9140495071
Separated Python versions in travis.yml 2018-07-19 17:31:31 -04:00
Daniel Wang 1f1906eb3c
Moved python configuration inside Linux in travis.yml 2018-07-19 17:05:47 -04:00
Daniel Wang 0daa84dadd
Added different python versions to travis 2018-07-19 17:00:32 -04:00
Daniel Wang 8cfa1b84d9
Use apt instead of pip for wheel 2018-07-19 16:18:11 -04:00
Daniel Wang 8877b93c6c
Install wheel with pip if using Ubuntu 2018-07-19 15:50:24 -04:00
Daniel Wang 5729153e6d
Fixed typo in travis.yml 2018-07-19 15:24:24 -04:00
Daniel Wang a52c629df7
Use sudo if building on Ubuntu 2018-07-19 15:07:36 -04:00
Daniel Wang ebae966237
Use apt to install setuptools instead of pip 2018-07-19 14:09:24 -04:00
Daniel Wang 0b2e56fcbf
Fixed wrong pip version 2018-07-19 14:03:48 -04:00
Daniel Wang fcb3575b72
Added setuptools installation to travis.yml 2018-07-19 13:54:55 -04:00
Daniel Wang ad1ada9b23
Merge branch 'pymod' of https://github.com/klayoutmatthias/klayout into pymod 2018-07-19 13:40:57 -04:00
Daniel Wang 182517dbf9
Retry Ubuntu builds on Travis 2018-07-19 13:38:31 -04:00
Matthias Koefferlein aca209c095 Using C.UTF-8 locale fallback for string tests for vanilla Linux installations. 2018-07-18 21:57:47 +02:00
Matthias Koefferlein 3dd55bdd2a setup.py updated with correct loading path of Linux (thanks, @atait) 2018-07-18 19:11:36 +00:00
Daniel Wang 68e0560e0c
Added Linux builds for Travis 2018-07-17 15:47:30 -04:00
Daniel Wang 5f6c265e4b
Moved current_utc_time to tlUtils and fixed tlTimer 2018-07-17 14:37:41 -04:00
Daniel Wang 106b57c676
Fixed unchanged functions 2018-07-17 14:14:47 -04:00
Daniel Wang 20db1e1f24
Added support for Mac OS X 10.11 and lower 2018-07-17 14:05:33 -04:00
Daniel Wang 8d2c2d430d
Updated ruby version in travis 2018-07-17 11:49:26 -04:00
Thomas Ferreira de Lima 771eb84107 issue with CLOCK_REALTIME, trying xcode8 for macOS 10.11 2018-07-16 23:42:37 -04:00
Thomas Ferreira de Lima f26576099c missing stdlib.h import 2018-07-16 23:29:51 -04:00
Thomas Ferreira de Lima bd9ea2a188 fixing gcc compilation 2018-07-16 23:12:05 -04:00
Thomas Ferreira de Lima 015f1d92e5 fixing gcc compilation 2018-07-16 23:01:49 -04:00
Thomas Ferreira de Lima f2c083c134 fixing travis yml 2018-07-16 22:53:27 -04:00
Thomas Ferreira de Lima 1086795a55 travis different c++ compilers for older OS 2018-07-16 22:44:06 -04:00
Thomas Ferreira de Lima 16d0cd99ef pushing wheel to dropbox 2018-07-16 22:26:17 -04: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
Matthias Köfferlein 8d87138cc7
Merge pull request #143 from lightwave-lab/pymod
Pymod improvements for MacOS
2018-07-17 00:08:16 +02:00
Thomas Ferreira de Lima 11ff91b00b trying without brew curl and expat (bis) 2018-07-16 10:45:03 -04:00
Thomas Ferreira de Lima eb9d53e990 trying without brew curl and expat 2018-07-16 10:40:16 -04:00
Thomas Ferreira de Lima bd046405e3 only importing tl, db and rdb for testing 2018-07-16 09:35:25 -04:00
Thomas Ferreira de Lima 2a2660290b more travis tests 2018-07-16 02:23:36 -04:00
Thomas Ferreira de Lima c269f39ba0 setting up travis compilation 2018-07-16 01:53:10 -04: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 1f91f34126 More reliable detection of extension suffix for Python 2.x 2018-07-16 00:56:12 +02:00
Matthias Koefferlein 9dcfa140c3 Added __init__.py file to Python package. 2018-07-15 19:33:44 +00:00
Matthias Koefferlein 8c63069697 Merge branch 'pymod' of www.klayout.org:/home/matthias/klayout into pymod 2018-07-15 21:00:38 +02:00
Matthias Koefferlein 46b0f079cf Skipping HTTP tests rather than disabling them
With this commit, tests are logged as skipped and
not just omitted, if HTTP support is not enabled
(neighter Qt nor curl)
2018-07-15 20:58:54 +02:00
Matthias Koefferlein 106879e344 Fixed setup.py after recent update 2018-07-15 18:05:10 +00:00