Skip to content

Commit

Permalink
Fix pyproject.toml build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Nov 12, 2024
1 parent deb3d17 commit 347c5f2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ build-backend = "setuptools.build_meta"
[project]
name = "e3sm_diags"
dynamic = ["version"]
version = "2.12.0"
description = "E3SM Diagnostics"
authors = [
{ name = "Chengzhu (Jill) Zhang", email = "[email protected]" },
Expand All @@ -31,13 +30,15 @@ classifiers = [
dependencies = [
"beautifulsoup4",
"cartopy >=0.17.0",
"cartopy_offlinedata",
# This package is not available on PyPI.
# "cartopy_offlinedata",
"cf-units",
"dask",
"esmpy >=8.4.0",
"lxml",
"mache >=0.15.0",
"matplotlib-base",
# This package is not available on PyPI.
# "matplotlib-base",
"netcdf4",
"output_viewer >=1.3.0",
"numpy >=2.0.0,<3.0.0",
Expand Down Expand Up @@ -69,9 +70,8 @@ Documentation = "https://docs.e3sm.org/e3sm_diags/_build/html/main/index.html"
e3sm_diags = "e3sm_diags.e3sm_diags_driver:main"
e3sm_diags_vars = "e3sm_diags.e3sm_diags_vars:main"

[tool.setuptools]
packages = ["e3sm_diags", "e3sm_diags.*"]
scripts = ["e3sm_diags/e3sm_diags_driver.py"]
[tool.setuptools.packages.find]
include = ["e3sm_diags", "e3sm_diags.*"]

[tool.setuptools.dynamic]
version = { attr = "e3sm_diags.__version__" }
Expand All @@ -84,6 +84,9 @@ version = { attr = "e3sm_diags.__version__" }
]

[tool.setuptools.data-files]
"share/e3sm_diags/acme_ne30_ocean_land_mask.nc" = [
"e3sm_diags/driver/acme_ne30_ocean_land_mask.nc",
]
"share/e3sm_diags/zonal_mean_xy" = [
"e3sm_diags/driver/default_diags/zonal_mean_xy*",
"e3sm_diags/driver/default_diags/legacy_diags/zonal_mean_xy*",
Expand Down Expand Up @@ -173,7 +176,7 @@ exclude = '''
| config
| conda
| analysis_data_preprocess
)/
)/
'''

[tool.isort]
Expand Down

0 comments on commit 347c5f2

Please sign in to comment.