uclchem / UCLCHEM

UCLCHEM - A gas-grain chemical code for Astrochemistry.
MIT License
29 stars 14 forks source link

Move from setup.py #30

Closed GijsVermarien closed 10 months ago

GijsVermarien commented 1 year ago

With pip 22.3.1 we get the following deprecation warning, announcing the deprecation of setup.py. We need to find some solution that still allows us to compile the fortran as we do in setup.py

DEPRECATION: uclchem is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559`
GijsVermarien commented 1 year ago

Some experience on moving from setup.py:

https://labs.quansight.org/blog/2021/07/moving-scipy-to-meson

GijsVermarien commented 11 months ago

Ongoing work in the branch. Installation seems to work, but not yet with environments. https://github.com/uclchem/UCLCHEM/tree/features/new_installer

GijsVermarien commented 10 months ago

Closed with #40