Skip to content

Commit 2914881

Browse files
author
martinkilbinger
committed
syntax
1 parent acc5a82 commit 2914881

1 file changed

Lines changed: 30 additions & 32 deletions

File tree

pyproject.toml

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,38 @@
1-
[tool.poetry]
1+
[project]
22
name = "cs_util"
33
version = "0.1.5"
44
description = "Utility library for CosmoStat"
5-
authors = ["Martin Kilbinger <martin.kilbinger@cea.fr>"]
5+
authors = [
6+
{ name = "Martin Kilbinger", email = "martin.kilbinger@cea.fr" },
7+
]
68
readme = "README.md"
79

8-
[tool.poetry.dependencies]
9-
python = ">=3.11,<3.13"
10-
astropy = "^7.0"
11-
datetime = "^5.5"
12-
numpy = "^1.26.4"
13-
matplotlib = "^3.8.4"
14-
swig = "^4.2.1"
15-
scipy = "^1.13.0"
16-
vos = "^3.6.1"
17-
keyring = "^25.2.0"
18-
pyccl = "^3.0.2"
19-
camb = "^1.5.9"
10+
requires-python = ">=3.11"
2011

21-
[tool.poetry.dev-dependencies]
22-
pytest = "^6.2.5"
23-
pydocstyle = "^6.3.0"
24-
pytest-cov = "^4.1.0"
25-
black = "^23.7.0"
12+
dependencies = [
13+
"astropy>=7.0",
14+
"datetime>=5.5",
15+
"numpy>=1.26.4",
16+
"matplotlib>=3.8.4",
17+
"swig>=4.2.1",
18+
"scipy>=1.13.0",
19+
"vos>=3.6.1",
20+
"keyring>=25.2.0",
21+
"pyccl>=3.0.2",
22+
"camb>=1.5.9",
23+
]
2624

27-
[tool.black]
28-
line-length = 80
25+
[project.optional-dependencies]
26+
lint = [
27+
"black",
28+
]
29+
release = [
30+
"build",
31+
"twine",
32+
]
33+
test = [
34+
"pytest",
35+
"pytest-pydocstyle",
36+
"pytest-cov",
37+
]
2938

30-
[build-system]
31-
requires = ["poetry-core>=1.0.0"]
32-
build-backend = "poetry.core.masonry.api"
33-
34-
[project.urls]
35-
Source = "https://github.com/CosmoStat/cs_util"
36-
Documentation = "https://github.com/CosmoStat/cs_util"
37-
Tracker = "https://github.com/CosmoStat/cs_util/issues"
38-
39-
[tool.pydocstyle]
40-
convention = "numpy"

0 commit comments

Comments
 (0)