Ray Speth
57856254f7
Change Python module URL to point to cantera.org
2015-03-10 22:41:49 +00:00
Ray Speth
eaceaf7b86
[SCons] Use SCons to compile the Cython extension
...
Fixes issues with mismatched compilers between the Cython extension and the
cantera library, especially on OS X. Improves build dependency resolution to
eliminate unnecessary recompilation of _cantera.cpp.
2014-01-31 23:15:17 +00:00
Ray Speth
a6ce399374
[Cython] Move extra Cython-related headers to main include directory
2013-09-28 18:18:12 +00:00
Ray Speth
332569114e
[Cython] Install headers needed for derived Cython modules
2013-09-25 23:05:21 +00:00
Ray Speth
7520170f30
[Cython] Improve support for building derived Cython modules
...
The .pxd file now contains declarations for all of the cdef classes,
and is installed with the module.
2013-09-25 22:57:36 +00:00
Ray Speth
8724bc9f04
[Cython] Fix generation of MSI installer when using Python 2.x
...
The old patch to distutils only worked on Python 3.x, since distutils
uses old-style classes which do not support property objects.
2013-07-29 01:38:01 +00:00
Ray Speth
58d6917fe4
[Cython] Patch distutils to prevent overwriting of build-lib
...
This bug in distutils prevented building the MSI installer on Windows.
2013-06-24 15:21:25 +00:00
Ray Speth
4591159cd9
[SCons] Install script for running MixMaster with new Python module
2013-06-21 20:59:00 +00:00
Ray Speth
440bf4a8d1
Add current version of MixMaster to the Cython package
...
Note that this currently doesn't work at all, due to both Python 3 compatibility
issues as well as the changes to the Cantera Python API
2013-06-21 20:58:22 +00:00
Ray Speth
84aaec1417
[Cython] Install ck2cti.py and wrapper script
2013-06-21 20:58:15 +00:00
Ray Speth
9e9fe849bc
Install ctml_writer with Cython module
2013-06-08 02:01:18 +00:00
Ray Speth
372d20ce6e
[Cython] setup.py no longer makes use of setuptools / distribute
...
This makes it easier to install the Python package into non-standard
locations. Requires the 'cythonize' function introduced in Cython 0.17.
2013-03-04 17:30:56 +00:00
Ray Speth
2be392e6e1
[Cython] Translated more samples to use the new API
2013-02-01 23:40:41 +00:00
Ray Speth
a852400384
[SCons] Build the Cython module with debug symbols when requested
2012-12-26 23:56:01 +00:00
Ray Speth
b277818347
[Cython] Added infrastructure for installing examples
...
This includes automatic conversion of the samples from Python 3 syntax to Python
2 syntax when building the Python 2 version of the module and the "3to2" script
is available.
2012-12-18 00:03:03 +00:00
Ray Speth
f82c6e50c7
SCons runs the unit tests for the Cython module
2012-09-06 19:58:32 +00:00
Ray Speth
2bd25f52b4
Simplified setup.py for new Python module
...
The removed parts are not necessary since the compiled module no
longer links to the Cantera shared library.
2012-09-06 19:57:13 +00:00
Ray Speth
95b75409be
Include data files with the new Python module
2012-09-06 19:56:51 +00:00
Ray Speth
1758c86a3f
Starting a test suite for the new Python module
2012-09-06 19:56:43 +00:00
Ray Speth
dfb18b461e
Rearranging Cython module into a single shared object
...
This is necessary to deal with DLL linking limitations on Windows
2012-09-06 19:56:03 +00:00
Ray Speth
96f9b05f8c
Added skeletal implementation of multiphase mixtures to new Python module
2012-09-06 19:55:50 +00:00
Ray Speth
eabb46b9e7
Added physical constants to the new Python module
2012-09-06 19:55:40 +00:00
Ray Speth
3a838018fc
Use SCons to generate a customized setup.py for the new Python module
2012-09-06 19:55:34 +00:00
Ray Speth
8afc669b67
Proof-of-concept for a Python interface written using Cython
...
This module is compatible with both Python 2 and Python 3. Unlike the existing
Python module, this module directly utilizes the Cantera C++ interface,
bypassing the "clib" compatibility layer, as well as all of the direct use of
the Python C API.
Currently, this contains just enough to instantiate a ThermoPhase object from an
XML input file.
2012-09-06 19:55:25 +00:00