-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. setup.py -> pyproject.toml new standard, PEP 621. 2. all source code now under `src`. This is a start for the new standard. Main issue is build isolation forces CMake caching to break, so I have disabled the caching for now.
- Loading branch information
Showing
2 changed files
with
65 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,56 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["setuptools","numpy>=1.20.3","swig>=4.0.0","cmake>=0.29.24", "ninja"] | ||
requires = [ | ||
"setuptools", | ||
"numpy<2.0", # as per petsc | ||
"swig>=4.0.0", | ||
"cmake>=0.29.24", | ||
"ninja" | ||
] | ||
|
||
[project] | ||
name = "underworld" | ||
version = "2.16.0" | ||
authors = [ | ||
{name = "Louis Moresi", email="louis.moresi@anu.edu.au"}, | ||
{name = "Julian Giordani", email="julian.giordnai@sydney.edu.au"}, | ||
{name = "John Mansour", email="john.mansour@gmail.com"}, | ||
{name = "Romain Beaucher", email="romain.beucher@anu.edu.au"}, | ||
] | ||
maintainers = [ | ||
{name = "Underworld Team", email="help@underworldcode.org"}, | ||
] | ||
dependencies = [ | ||
"numpy>=1.20.3", | ||
"mpi4py>=1.2.2", | ||
"h5py", | ||
"pint", | ||
"scipy", | ||
] | ||
description = "Underworld2 is a python-friendly, parallel, scalable, easy-to-use toolkit for solving problems in solid and fluid mechanics." | ||
readme = "README.md" | ||
license = {file = "./LICENSE.md"} | ||
keywords = ["Underworld", "MPI", "Geodynamics"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: POSIX", | ||
"Programming Language :: C", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
[project.optional-dependencies] | ||
full = [ | ||
"badlands", | ||
"lavavu", | ||
"matplotlib", | ||
"nbmake", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://www.underworldcode.org" | ||
repository = "https://github.com/underworldcode/underworld2" | ||
documentation = "https://underworld2.readthedocs.io/en/latest/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters