|
| 1 | +[build-system] |
| 2 | +# Minimum requirements for the build system to execute |
| 3 | +requires = ["setuptools>64"] |
| 4 | +build-backend = "setuptools.build_meta" |
| 5 | + |
| 6 | +[project] |
| 7 | +name = "waterbalans" |
| 8 | +dynamic = ["version"] |
| 9 | +description = "Python Package voor het maken van waterbalansen" |
| 10 | +license = { file = "LICENSE" } |
| 11 | +readme = "README.rst" |
| 12 | +authors = [{ name = "D.A. Brakenhoff" }] |
| 13 | +maintainers = [{ name = "D.A. Brakenhoff", email = "[email protected]" }] |
| 14 | +requires-python = ">= 3.9" |
| 15 | +dependencies = ["numpy", "scipy", "matplotlib", "pandas"] |
| 16 | + |
| 17 | +keywords = ["hydrology", "groundwater", "time series", "analysis", "database"] |
| 18 | +classifiers = [ |
| 19 | + "Development Status :: 4 - Beta", |
| 20 | + "Intended Audience :: Science/Research", |
| 21 | + "Intended Audience :: Other Audience", |
| 22 | + "License :: OSI Approved :: MIT License", |
| 23 | + "Operating System :: Microsoft :: Windows", |
| 24 | + "Operating System :: POSIX", |
| 25 | + "Operating System :: Unix", |
| 26 | + "Operating System :: MacOS", |
| 27 | + "Programming Language :: Python", |
| 28 | + "Programming Language :: Python :: 3", |
| 29 | + "Programming Language :: Python :: 3.10", |
| 30 | + "Programming Language :: Python :: 3.11", |
| 31 | + "Programming Language :: Python :: 3.12", |
| 32 | + "Programming Language :: Python :: 3 :: Only", |
| 33 | + "Topic :: Scientific/Engineering :: Hydrology", |
| 34 | +] |
| 35 | + |
| 36 | +[project.urls] |
| 37 | +homepage = "https://github.com/ArtesiaWater/waterbalans" |
| 38 | +repository = "https://github.com/ArtesiaWater/waterbalans" |
| 39 | +documentation = "https://waterbalans.readthedocs.io/en/latest/" |
| 40 | + |
| 41 | +[project.optional-dependencies] |
| 42 | +all = ["waterbalans[fews]", "numba", "dateparser"] |
| 43 | +fews = ["hkvfewspy==0.6.2"] |
| 44 | +ci = [ |
| 45 | + "waterbalans[all]", |
| 46 | + "pytest", |
| 47 | + "pytest-benchmark", |
| 48 | + "codecov", |
| 49 | + "pytest-cov", |
| 50 | + "codacy-coverage", |
| 51 | +] |
| 52 | +docs = ["sphinx_rtd_theme"] |
| 53 | + |
| 54 | +[tool.setuptools.packages] |
| 55 | +find = {} |
| 56 | + |
| 57 | +[tool.setuptools.dynamic] |
| 58 | +version = { attr = "waterbalans.version.__version__" } |
| 59 | + |
| 60 | +[tool.ruff] |
| 61 | +line-length = 88 |
| 62 | +extend-include = ["*.ipynb"] |
| 63 | + |
| 64 | +[tool.ruff.lint] |
| 65 | +# See: https://docs.astral.sh/ruff/rules/ |
| 66 | +select = [ |
| 67 | + "C4", # flake8-comprehensions |
| 68 | + "E", # pycodestyle |
| 69 | + "F", # pyflakes |
| 70 | + "I", # isort |
| 71 | + "PT", # pytest-style |
| 72 | + "D", # pydocstyle |
| 73 | + "B", # flake8-bugbear |
| 74 | + "NPY", # numpy |
| 75 | +] |
| 76 | + |
| 77 | +[tool.ruff.format] |
| 78 | + |
| 79 | +[tool.ruff.lint.pydocstyle] |
| 80 | +convention = "numpy" |
| 81 | + |
| 82 | +[tool.pytest.ini_options] |
| 83 | +addopts = "--durations=0 --cov-report xml:coverage.xml --cov waterbalans -v" |
0 commit comments