-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (75 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
87 lines (75 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# coding=utf-8
[project]
name = "ibei"
description = 'Calculator for incomplete Bose-Einstein integral'
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Joshua Ryan Smith", email = "joshua.r.smith@gmail.com" },
]
keywords = [
"Bose-Einstein integral",
"Bose-Einstein statistics",
"thermal radiation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"astropy",
"attrs",
"mpmath",
"numpy>=1.26.4",
]
dynamic = ["version"]
[project.urls]
Documentation = "https://ibei.readthedocs.io/en/latest/"
Issues = "https://github.com/jrsmith3/ibei/issues"
Source = "https://github.com/jrsmith3/ibei"
[build-system]
requires = [
"hatchling>=1.4.1",
"hatch-vcs",
"setuptools>=45",
]
build-backend = "hatchling.build"
[tool.hatch.envs.hatch-test]
default-args = ["test"]
# Invoke sphinx-build to build the HTML docs
[tool.hatch.envs.doc]
dependencies = [
"sphinx",
"sphinxcontrib-bibtex",
"sphinx_rtd_theme",
]
[tool.hatch.envs.doc.scripts]
html = "sphinx-build --color -W -bhtml doc doc_html"
rtd = "sphinx-build --color -W -bhtml doc _readthedocs/html"
[tool.hatch.envs.release]
dependencies = [
"dunamai"
]
[tool.hatch.envs.release.scripts]
# validate-tag = "dunamai check --style pep440 $(echo $GITHUB_REF_NAME | sed 's/^v//')"
list-github-ref-name = "echo $GITHUB_REF_NAME"
validate-tag = "dunamai check --style pep440 $(git describe --tags | sed 's/^v//')"
[tool.hatch.build.hooks.vcs]
version-file = "src/ibei/_version.py"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.ruff]
exclude = ["src/ibei/_version.py"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["PLC0414"]
"doc/conf.py" = ["INP001", "A001"]
"test/test*" = ["S101", "INP001"]