Commit Graph

5008 Commits

Author SHA1 Message Date
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
Matthias Koefferlein 5351922440 Enabled minimum build configuration
Minimum build configuration is without Qt, Ruby, curl and expat.
Only Python is required.

This commit also provides a functional (through polling) Qt-less HTTP
implementation through libcurl if enabled.
2018-07-15 19:59:45 +02:00
klayoutmatthias 6858190a20 Fixed Windows build and tests
* tl::is_same_file works with directories now too
* Unit tests added for this
* bridge_mod sample produces the proper DLL now
2018-07-15 18:03:42 +02:00
Matthias Koefferlein bbb88c5ca6 Merge branch 'pymod' of www.klayout.org:/home/matthias/klayout into pymod 2018-07-15 07:42:14 -07:00
Matthias Koefferlein d3b4bc7f87 Enabled pymod build via setup.py/distutils on MacOS 2018-07-15 07:42:01 -07:00
klayoutmatthias 1642129504 Fixed a typo that breaks the Win build. 2018-07-15 16:39:16 +02:00
Matthias Koefferlein cb33753e1c Fixed a FileUtils unit test on Windows. 2018-07-15 15:36:30 +02:00
Matthias Koefferlein a1d8913de9 Enhanced Qt-less FileUtils test, so they cover the full functionality without Qt 2018-07-15 15:27:39 +02:00
Matthias Koefferlein fc9783432b Bugfix: db_plugin modules were not loaded for python modules
* Added unit test for this
* Provided an option for easier debugging such issues:
  Setting env var KLAYOUT_VERBOSITY will enable debug levels on Python
  modules (and all other binaries). Plugin loading issues can
  be debugged by setting KLAYOUT_VERBOSITY=21.
2018-07-15 14:14:14 +02:00