Skip to content

Commit

Permalink
use declarative build, move tools away
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 committed Jun 1, 2024
1 parent 45acb00 commit b8e86ba
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 112 deletions.
17 changes: 17 additions & 0 deletions components/eamxx/src/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "pyeamxx"
version = "0.0.1.dev6"
dependencies = ["numpy", "mpi4py"]

[tool.setuptools.packages.find]
where = ["."]
include = ["pyeamxx", "libpyeamxx"]
exclude = ["build_src", "tests"]
namespaces = true

[tool.setuptools.package-data]
"libpyeamxx" = ["*.so*"]
5 changes: 2 additions & 3 deletions components/eamxx/src/python/readme
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
INFO:
- EAMxx python bindings
- libpyeamxx is where we will house the extensions
- pyeamxx is where we will house the python code
- libpyeamxx is where we will house the extensions
- packaging moved to https://github.com/mahf708/experimental-scream-feedstock

TODO:
- add more python code to organize structures
- establish ci pipeline in scream/e3sm repos
- add to cf (or alternatively sync with it)
- decide how to deal with versioning
- decide archs/pythons/mpis to tgt
- figure out what's tripping cf
19 changes: 0 additions & 19 deletions components/eamxx/src/python/setup.py

This file was deleted.

31 changes: 0 additions & 31 deletions components/eamxx/src/python/tools/build.sh

This file was deleted.

6 changes: 0 additions & 6 deletions components/eamxx/src/python/tools/conda_build_config.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions components/eamxx/src/python/tools/meta.yaml

This file was deleted.

0 comments on commit b8e86ba

Please sign in to comment.