-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
It is recommended to use pyproject.toml.
I would suggest to start by managing the sollowing additional points over pyproject.toml:
- Dependencies
mpi4py < 4is required. See Add missingrequirements.txtand venvs for Python tutorials tutorials#563- Add
fenicsas a dependency? Note that the installation process of FEniCS is somewhat non-standard. See, for example, what I'm doing here
- According to https://ianhopkinson.org.uk/2022/02/understanding-setup-py-setup-cfg-and-pyproject-toml-in-python/ we can also replace the
setup.cfgfile withpyproject.toml. I introducedsetup.cfgto be able to useversioneer. We should be able to move that topyproject.toml(see https://github.com/python-versioneer/python-versioneer?tab=readme-ov-file#vendored-mode). - Remove the python version checks from
setup.pyand intopyproject.toml. See https://stackoverflow.com/questions/76161889/how-do-i-specify-a-python-version-constraint-for-a-dependency-specifically-for-a