Commit Graph

8 Commits

Author SHA1 Message Date
Ingmar Schoegl
b35ed2f1de [Python] Add README.txt documenting changed sample location 2022-08-06 18:34:07 -05:00
Ingmar Schoegl
b7f582b162 [samples] Move Python examples to standard location and update SCons 2022-08-06 18:34:07 -05:00
Ingmar Schoegl
6e3c7e8296 [UnitTests] Move Python test suite and update SCons build process 2022-08-06 15:11:53 -04:00
Bryan Weber
5b35d8b9c9 [yaml2ck] Add typing_extensions for py37 compat 2022-07-11 06:10:36 +02:00
Travis Sikes
2eb3918244 yaml2ck.py
Removed redundant yaml reading
Uses Cantera's new notes
Refactored to classes

Co-Authored-By: Kyle Niemeyer <kyleniemeyer@fastmail.com>
Co-Authored-By: Phillip Mestas <phillip.mestas51@gmail.com>
Co-Authored-By: Parker Clayton <17040941+parkerclayton@users.noreply.github.com>

Update

Chebyshev Fix

Bryan Changes - Part Thermo

Update yaml2ck.py
2022-07-11 06:10:36 +02:00
Ray Speth
98b0383c74 Remove XML/CTI format from Python interface 2022-05-25 04:02:58 -04:00
Bryan Weber
30a397af8a [sdist] Reduce wheel size on Linux
Setuptools includes CFLAGS from when Python was built, which may include
the flag to add debug symbols. This dramatically inflates the size of
our wheels, so this change disables those symbols. We also exclude
source files from the built wheel. _cantera.cpp ends up being ~10 MB
uncompressed, so this is a signifcant savings as well. Overall, the
wheel goes from ~100 MB to ~5 MB.
2022-03-31 11:37:50 -04:00
Bryan W. Weber
43cf88c3fb [SCons/Python] Create the source distribution
Add a new option for the Python package to build a source distribution.
It is added as a new interface to simplify copying files. All of the
Cantera plus external library source code is copied into the interface
folder for building.

Actually building the source distribution is handled by the 'build'
package, which becomes a new dependency to build the sdist. 'build'
handles installing all the build-time dependencies in an isolated
environment using specifications in pyproject.toml.
2021-11-26 14:56:00 -05:00