|
1 | 1 | [build-system] |
2 | 2 | requires = ["setuptools", "wheel"] |
3 | 3 | build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "bmi-heat" |
| 7 | +description = "BMI Python example" |
| 8 | +authors = [ |
| 9 | + {email = "eric.hutton@colorado.edu"}, |
| 10 | + {name = "The CSDMS team"} |
| 11 | +] |
| 12 | +maintainers = [ |
| 13 | + {email = "eric.hutton@colorado.edu"}, |
| 14 | + {name = "The CSDMS team"} |
| 15 | +] |
| 16 | +keywords = [ |
| 17 | + "bmi", |
| 18 | + "component modeling", |
| 19 | + "earth science", |
| 20 | +] |
| 21 | +license = {file = "LICENSE"} |
| 22 | +classifiers = [ |
| 23 | + "Development Status :: 4 - Beta", |
| 24 | + "Intended Audience :: Science/Research", |
| 25 | + "License :: OSI Approved :: MIT License", |
| 26 | + "Operating System :: OS Independent", |
| 27 | + "Programming Language :: Python :: 3", |
| 28 | + "Programming Language :: Python :: 3.7", |
| 29 | + "Programming Language :: Python :: 3.8", |
| 30 | + "Programming Language :: Python :: 3.9", |
| 31 | + "Programming Language :: Python :: 3.10", |
| 32 | + "Programming Language :: Python :: Implementation :: CPython", |
| 33 | + "Topic :: Scientific/Engineering :: Physics", |
| 34 | +] |
| 35 | +requires-python = ">=3.7" |
| 36 | +dependencies = [ |
| 37 | + "numpy", |
| 38 | + "scipy", |
| 39 | + "pyyaml", |
| 40 | + "bmipy", |
| 41 | +] |
| 42 | +dynamic = ["readme", "version"] |
| 43 | + |
| 44 | + |
| 45 | +[project.urls] |
| 46 | +homepage = "https://github.com/csdms/bmi-example-python" |
| 47 | +documentation = "https://github.com/csdms/bmi-example-python#readme" |
| 48 | +repository = "https://github.com/csdms/bmi-example-python" |
| 49 | +changelog = "https://github.com/csdms/bmi-example-python/blob/master/CHANGES.rst" |
| 50 | + |
| 51 | +[project.optional-dependencies] |
| 52 | +testing = [ |
| 53 | + "coveralls", |
| 54 | + "flake8", |
| 55 | + "pytest", |
| 56 | + "pytest-cov", |
| 57 | + "six", |
| 58 | + "bmi-tester", |
| 59 | +] |
| 60 | + |
| 61 | +[tool.setuptools.dynamic] |
| 62 | +readme = {file = ["README.rst", "AUTHORS.rst", "CHANGES.rst"]} |
| 63 | +version = {attr = "heat._version.__version__"} |
| 64 | + |
| 65 | +[tool.setuptools.packages.find] |
| 66 | +where = ["."] |
| 67 | + |
| 68 | +[tool.pytest.ini_options] |
| 69 | +minversion = "6.0" |
| 70 | +testpaths = ["heat", "tests"] |
| 71 | +norecursedirs = [".*", "*.egg*", "build", "dist"] |
| 72 | +addopts = """ |
| 73 | + --ignore setup.py |
| 74 | + --tb native |
| 75 | + --strict |
| 76 | + --durations 16 |
| 77 | + --doctest-modules |
| 78 | + -vvv |
| 79 | +""" |
| 80 | +doctest_optionflags = [ |
| 81 | + "NORMALIZE_WHITESPACE", |
| 82 | + "IGNORE_EXCEPTION_DETAIL", |
| 83 | + "ALLOW_UNICODE" |
| 84 | +] |
| 85 | + |
| 86 | +[tool.isort] |
| 87 | +multi_line_output = 3 |
| 88 | +include_trailing_comma = true |
| 89 | +force_grid_wrap = 0 |
| 90 | +combine_as_imports = true |
| 91 | +line_length = 88 |
0 commit comments