|
| 1 | +[project] |
| 2 | +name = "polaris" |
| 3 | +dynamic = ["version"] |
| 4 | +authors = [ |
| 5 | + { name= "Xylar Asay-Davis", email= "[email protected]" }, |
| 6 | + { name= "Althea Denlinger", email= "[email protected]" } |
| 7 | +] |
| 8 | +description = "Testing and analysis for Omega, MPAS-Ocean, MALI and MPAS-Seaice" |
| 9 | +license = {file = "LICENSE"} |
| 10 | +readme = "README.md" |
| 11 | +requires-python = ">=3.9" |
| 12 | +classifiers = [ |
| 13 | + # these are only for searching/browsing projects on PyPI |
| 14 | + "Programming Language :: Python :: 3.9", |
| 15 | + "Programming Language :: Python :: 3.10", |
| 16 | + "Programming Language :: Python :: 3.11", |
| 17 | + "Programming Language :: Python :: 3.12", |
| 18 | + |
| 19 | + "License :: OSI Approved :: BSD License", |
| 20 | + "Operating System :: OS Independent", |
| 21 | +] |
| 22 | + |
| 23 | +dependencies = [ |
| 24 | + "cartopy", |
| 25 | + "cmocean", |
| 26 | + "importlib_resources", |
| 27 | + "ipython", |
| 28 | + "jigsawpy", |
| 29 | + "jupyter", |
| 30 | + "lxml", |
| 31 | + "matplotlib>=3.9.0", |
| 32 | + "netcdf4", |
| 33 | + "numpy>=2.0,<3.0", |
| 34 | + "progressbar2", |
| 35 | + "pyamg>=4.2.2", |
| 36 | + "pyproj", |
| 37 | + "ruamel.yaml", |
| 38 | + "requests", |
| 39 | + "scipy>=1.8.0", |
| 40 | + "shapely>=2.0,<3.0", |
| 41 | + "xarray", |
| 42 | +] |
| 43 | + |
| 44 | +[tool.isort] |
| 45 | +multi_line_output = "3" |
| 46 | +include_trailing_comma = true |
| 47 | +force_grid_wrap = "0" |
| 48 | +use_parentheses = true |
| 49 | +line_length = "79" |
| 50 | +skip = ["e3sm_diags/e3sm_diags_driver.py"] |
| 51 | + |
| 52 | +[tool.mypy] |
| 53 | +python_version = "3.10" |
| 54 | +check_untyped_defs = true |
| 55 | +ignore_missing_imports = true |
| 56 | +warn_unused_ignores = true |
| 57 | +warn_redundant_casts = true |
| 58 | +warn_unused_configs = true |
| 59 | + |
| 60 | +[build-system] |
| 61 | +requires = ["setuptools>=60"] |
| 62 | +build-backend = "setuptools.build_meta" |
| 63 | + |
| 64 | +[tool.setuptools.packages.find] |
| 65 | +exclude = ["docs*", "conda*"] |
| 66 | + |
| 67 | +[tool.setuptools.dynamic] |
| 68 | +version = { attr = "polaris.version.__version__" } |
| 69 | + |
| 70 | +# evolution of options.entry-points |
| 71 | +[project.scripts] |
| 72 | +polaris = "polaris.__main__:main" |
| 73 | +mpas_to_yaml = "polaris.yaml:main_mpas_to_yaml" |
| 74 | + |
| 75 | +[project.urls] |
| 76 | +Documentation = "https://docs.e3sm.org/polaris" |
| 77 | +"Bug Tracker" = "https://github.com/E3SM-Project/polaris/issues" |
0 commit comments