NewStrangeWorlds / FastChem

An ultra-fast equilibrium chemistry
https://newstrangeworlds.github.io/FastChem/
GNU General Public License v3.0
41 stars 16 forks source link

Bugfixes for python build #2

Closed bmorris3 closed 2 years ago

bmorris3 commented 2 years ago

Hi @daniel-kitzmann,

I tried to get the python version running on my machine, and the suggested changes in this pull request are the tweaks that I had to do to get the example scripts working. They include:

  1. using the fetchcontent cmake package to grab pybind11
  2. automatically creating an output directory from within the python scripts
  3. adjusting paths to the input files and the fetchcontent version of pybind11
  4. and iterating over the flags slightly differently.

Thanks, Brett