Skip to content

Commit 96fd59a

Browse files
Merge pull request #42 from CosmoStat/develop
v0.1.0
2 parents ce1387f + 79d8a96 commit 96fd59a

File tree

1 file changed

+26
-69
lines changed

1 file changed

+26
-69
lines changed

pyproject.toml

Lines changed: 26 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,39 @@
1-
[project]
1+
[tool.poetry]
22
name = "cs_util"
3+
version = "0.1.0"
4+
description = "Utility library for CosmoStat"
5+
authors = ["Martin Kilbinger <[email protected]>"]
36
readme = "README.md"
4-
requires-python = ">=3.7"
5-
authors = [
6-
{ "name" = "The CosmoStat Lab" },
7-
]
8-
maintainers = [
9-
{ "name" = "Martin Kilbinger", "email" = "[email protected]" },
10-
]
11-
dynamic = ["version"] #, "description"]
12-
license = { "file" = "LICENSE" }
13-
keywords = ["CosmoStat", "cosmology", "weak gravitational lensing"]
14-
classifiers = [
15-
"Development Status :: 1 - Planning",
16-
"License :: OSI Approved :: MIT License",
17-
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.7",
19-
"Programming Language :: Python :: 3.8",
20-
"Programming Language :: Python :: 3.9",
21-
"Programming Language :: Python :: 3.10",
22-
"Operating System :: POSIX :: Linux",
23-
"Operating System :: MacOS",
24-
"Topic :: Scientific/Engineering",
25-
]
26-
dependencies = [
27-
"astropy>=4.0",
28-
"datetime>=4.7",
29-
"matplotlib>=3.3",
30-
"numpy>=1.21",
31-
"vos>=3.3",
32-
]
337

34-
[build-system]
35-
requires = [
36-
"setuptools",
37-
"wheel",
38-
]
39-
build-backend = "setuptools.build_meta"
40-
41-
42-
[project.optional-dependencies]
43-
lint = [
44-
"black",
45-
"jinja2==3.0",
46-
]
47-
release = [
48-
"build",
49-
"twine",
50-
"sdist",
51-
]
52-
test = [
53-
"pytest",
54-
"pytest-black",
55-
"pytest-cov",
56-
"pytest-pydocstyle",
57-
]
8+
[tool.poetry.dependencies]
9+
python = ">=3.9,<3.12"
10+
astropy = "5.2"
11+
camb = "1.5.4"
12+
datetime = "^5.5"
13+
numpy = "^1.26.4"
14+
matplotlib = "^3.8.4"
15+
swig = "^4.2.1"
16+
scipy = "^1.13.0"
17+
# Install pyccl via pip
18+
vos = "^3.6.1"
19+
20+
[tool.poetry.dev-dependencies]
21+
pytest = "^6.2.5"
22+
pydocstyle = "^6.3.0"
23+
pytest-cov = "^4.1.0"
24+
black = "^23.7.0"
5825

26+
[tool.black]
27+
line-length = 80
5928

60-
# Install for development
61-
dev = ["cs_util[lint,release,test]"]
29+
[build-system]
30+
requires = ["poetry-core>=1.0.0"]
31+
build-backend = "poetry.core.masonry.api"
6232

6333
[project.urls]
6434
Source = "https://github.com/CosmoStat/cs_util"
6535
Documentation = "https://github.com/CosmoStat/cs_util"
6636
Tracker = "https://github.com/CosmoStat/cs_util/issues"
6737

68-
[tool.black]
69-
line-length = 80
70-
7138
[tool.pydocstyle]
7239
convention = "numpy"
73-
74-
[tool.pytest.ini_options]
75-
addopts = "--verbose --black --pydocstyle --cov=cs_util"
76-
testpaths = ["cs_util"]
77-
78-
[tool.setuptools.dynamic]
79-
version = {attr = "cs_util.__version__"}
80-
81-
[tools.setuptools]
82-
packages = ["cs_util"]

0 commit comments

Comments
 (0)