-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change toml to new metadata * update workflow to use build and twine for upload
- Loading branch information
1 parent
d64305f
commit f5aae9a
Showing
2 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
requires = ["flit_scm"] | ||
build-backend = "flit_scm:buildapi" | ||
|
||
[tool.flit.metadata] | ||
module = "rimseval" | ||
author = "Reto Trappitsch" | ||
author-email = "[email protected]" | ||
home-page = "https://github.com/RIMS-Code/RIMSEval" | ||
requires = [ | ||
[project] | ||
name = "rimseval" | ||
authors = [ | ||
{name="Reto Trappitsch", email="[email protected]"} | ||
] | ||
dependencies = [ | ||
"iniabu>=1.1.2", | ||
"matplotlib", | ||
"numba~=0.57.1", | ||
|
@@ -18,9 +18,14 @@ requires = [ | |
] | ||
requires-python=">=3.8,<3.12" | ||
classifiers = [ "License :: OSI Approved :: MIT License",] | ||
description-file = "README.rst" | ||
readme = "README.rst" | ||
dynamic = ["version", "description"] | ||
|
||
[tool.flit.metadata.requires-extra] | ||
[project.urls] | ||
Source = "https://github.com/RIMS-Code/RIMSEval" | ||
Documentation = "https://rimseval.readthedocs.io" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"darglint>=1.5.1", | ||
"flake8", | ||
|
@@ -49,5 +54,8 @@ minversion = "6.0" | |
addopts = "--cov=rimseval -v" | ||
testpaths = "tests" | ||
|
||
[tool.flit.sdist] | ||
exclude = [".gitignore", ".readthedocs.yaml"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "rimseval/_version.py" |