1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 21:04:08 +01:00
Commit Graph

810 Commits

Author SHA1 Message Date
0b223b9d6e return type cast of exit codes and back ends in C
add top-level string_of_error function in Python
2021-08-14 12:27:11 +03:00
721352cb89 add missing support for reading single string attributes 2021-08-11 16:01:36 +03:00
209f4506c8 update gitignore 2021-08-11 16:01:04 +03:00
2be1abd571 add Python front end 2021-08-11 15:59:58 +03:00
66a790717a Optional check and update of numpy.i file if outdated 2021-08-10 15:43:24 +03:00
ec7a39f6c2 strict int types for DIM1 and arrays 2021-08-06 16:24:11 +03:00
808adc7cd8 add typemaps and tests for numpy int arrays
+ some cleaning in the Python test and SWIG interface files
2021-08-06 14:04:29 +03:00
1388ddef80 fix warnings produced during compilation of the Python extension module 2021-08-06 12:06:42 +03:00
d0c19e0ce0 pytrexio build and pip install working 2021-08-05 17:55:34 +03:00
bb18a9c826 minor cleaning 2021-08-05 17:48:53 +03:00
12280e4219 more general MANIFEST.in 2021-08-05 17:48:23 +03:00
2854d617d4 make python directory and adapt build process 2021-08-05 12:55:18 +03:00
b8c188343e better python build 2021-08-05 10:34:16 +03:00
60c28c1f3b rename python test and add temporary TODO 2021-08-04 14:13:23 +03:00
9a28b8d4bc Revert "create python directory and add TODO objectives"
This reverts commit 6ce91a6669.
2021-08-04 12:07:27 +03:00
6ce91a6669 create python directory and add TODO objectives 2021-08-04 10:18:36 +03:00
621f4bc8b1 release script for TestPyPI 2021-07-28 16:25:54 +02:00
e0162d4570 return double datasets as numpy arrays using numpy.i and safe API 2021-07-28 15:59:29 +02:00
ea0ea0ac38 move from distutils to setuptools
sdist and install arguments of setup.py work!
2021-07-28 15:57:42 +02:00
f3dbfc7be2 added License and install_requires in setup.py + cleaning 2021-07-28 10:33:33 +02:00
5b7030fca1 [WIP] make a test release on TestPyPi
currently does not link to existing setup.py
2021-07-28 10:30:23 +02:00
5a3fbc2317 compile tests for memory-safe API 2021-07-28 10:19:45 +02:00
da5a990acc add memory-safe API for numerical datasets 2021-07-28 10:19:00 +02:00
c381d5de4b Fixed compilation on macOS 2021-07-27 14:48:11 +02:00
9f4176a8b6 resolve major compiler warnings produced by distutils 2021-07-27 11:06:06 +02:00
171cf1662b ignore __pycache__ 2021-07-26 19:28:56 +02:00
9bbae8fd7c replace some integers with TREXIO-native constants 2021-07-26 19:27:45 +02:00
1f98604d58 add pattern matching for arrays of strings + comments 2021-07-26 18:49:26 +02:00
12c2a3a014 update gitignore 2021-07-26 18:43:49 +02:00
8c6289a8ba build Python module using pythonic distutils 2021-07-26 18:43:15 +02:00
4faee98092 Merge branch 'master' into swig-python 2021-07-23 16:38:06 +02:00
84e0d480c0
Merge pull request #55 from TREX-CoE/add-metadata-info
Automatically add package version to the metadata; Close #53
2021-07-23 16:27:03 +02:00
578819afe7 do not propagate the local user name from config.h to trexio.h 2021-07-23 16:19:15 +02:00
2f876ef7cd write TREXIO version in the file if not done yet 2021-07-23 15:55:16 +02:00
ba45479a8a add package_version attribute to metadata group 2021-07-23 15:50:31 +02:00
856412f06a propagate package version and user name to trexio.h 2021-07-23 15:49:42 +02:00
56df1c8549 propagate local user name from $USER to config.h 2021-07-23 15:48:45 +02:00
4b651dbe1f better make for Python 2021-07-20 14:57:48 +02:00
836603fd32 do no wrap-up the code from back ends and private header 2021-07-20 14:22:54 +02:00
678f90f86a add a note on alternative way to re-define ill-defined constants 2021-07-20 12:31:21 +02:00
46eec89774 remove unsafe and unused file_name field from trexio_hdf5_s 2021-07-20 12:08:18 +02:00
ac28110696 add include guard to the trexio_private.h file 2021-07-20 12:06:44 +02:00
6f8279ed80 improved make python rule 2021-07-20 11:40:13 +02:00
88e777f68b resolve complaint about undefined TREXIO_MAX_FILENAME_LENGTH and remove unused assert header 2021-07-20 11:36:23 +02:00
e06e0b3745 commented brute force patch for re-defining constants in the target language 2021-07-20 10:42:25 +02:00
9fa2bc2835 disable type casting in constant definitions to access them in the target language
required because SWIG cannot handle definitions with type casting
2021-07-20 10:39:05 +02:00
d527561440 add test of basic I/O for Python 2021-07-19 17:59:26 +02:00
79d374bdff [WIP] Python interface generated by SWIG 2021-07-19 17:58:50 +02:00
90860ea1e0 Credit for EU in README 2021-07-15 14:43:54 +02:00
374cb2c895 fix links in trex.org after renaming some sections 2021-06-25 14:15:50 +02:00