Skip to content

Commit

Permalink
Update project files to new Python package standards (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulcollenteur authored Dec 7, 2023
2 parents edcce2e + 8369ca8 commit b7dbd26
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"orcid": "0000-0002-2730-494X"
},
{
"affiliation": "University of Graz, Graz, Austria.",
"affiliation": "Eawag, Dübendorf, Switzerland.",
"name": "Raoul Collenteur",
"orcid": "0000-0001-7843-1538"
}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 phydrus
Copyright (c) 2023 phydrus

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
62 changes: 62 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[build-system]
requires = ["setuptools", "wheel"]

[project]
name = "pyet"
description = "pyet - Estimation of Potential Evaporation"
readme = "README.md"
authors = [
{name = "Matevz Vremec", email = "[email protected]"},
{name = "Raoul Collenteur", email = "[email protected]"}
]
license = "MIT License"
homepage = "https://github.com/phydrus/pyet"
repository = "https://github.com/phydrus/pyet"
documentation = "https://github.com/phydrus/pyet/discussions"

[project.urls]
Source = "https://github.com/phydrus/pyet"
Tracker = "https://github.com/phydrus/pyet/issues"
Help = "https://github.com/phydrus/pyet/discussions"

[[project.classifiers]]
Development Status = "4 - Beta"
Intended Audience = "Science/Research"
License = "OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)"
Programming Language = "Python :: 3.8"
Programming Language = "Python :: 3.9"
Programming Language = "Python :: 3.10"
Programming Language = "Python :: 3.11"
Topic = "Scientific/Engineering :: Hydrology"

[tool.setuptools.dynamic]
version = { attr = "pyet.version.__version__" }

[tool.black]
line-length = 88

[tool.isort]
profile = "black"

[project.scripts]
test = "tests"

requires-python = ">= 3.8"
[project.dependencies]
numpy = ">=1.16"
xarray = ">=0.18.0"
pandas = ">=1.2"

[project.optional-dependencies]

rtd = [
"sphinx-autodoc-typehints"
"Ipython"
"ipykernel"
"nbsphinx"
"nbsphinx_link"
"pydata-sphinx-theme"
"sphinx-gallery"
"sphinx>=3.1"
"sphinxcontrib-bibtex"
]
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

11 changes: 0 additions & 11 deletions requirements_rtd.txt

This file was deleted.

44 changes: 0 additions & 44 deletions setup.py

This file was deleted.

0 comments on commit b7dbd26

Please sign in to comment.