|
1 |
| -[project] |
| 1 | +[tool.poetry] |
2 | 2 | name = "cs_util"
|
| 3 | +version = "0.1.0" |
| 4 | +description = "Utility library for CosmoStat" |
| 5 | +authors = [ "Martin Kilbinger <[email protected]>"] |
3 | 6 | 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 |
| -] |
33 | 7 |
|
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" |
58 | 25 |
|
| 26 | +[tool.black] |
| 27 | +line-length = 80 |
59 | 28 |
|
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" |
62 | 32 |
|
63 | 33 | [project.urls]
|
64 | 34 | Source = "https://github.com/CosmoStat/cs_util"
|
65 | 35 | Documentation = "https://github.com/CosmoStat/cs_util"
|
66 | 36 | Tracker = "https://github.com/CosmoStat/cs_util/issues"
|
67 | 37 |
|
68 |
| -[tool.black] |
69 |
| -line-length = 80 |
70 |
| - |
71 | 38 | [tool.pydocstyle]
|
72 | 39 | 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