-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (102 loc) · 2.75 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (102 loc) · 2.75 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cij"
dynamic = ["version"]
description = "High temperature thermal elasticity"
readme = "README.md"
authors = [
{name = "Chenxing Luo", email = "chenxing.luo@columbia.edu"}
]
requires-python = ">=3.8"
license = {text = "GPL-3.0-or-later"}
keywords = ["thermal elasticity", "high temperature", "materials science"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy>=1.10.0",
"pandas",
"scipy",
"qha",
"lazy_property",
"pint>=0.10",
"networkx",
"click",
"jsonschema",
"sympy",
]
[project.optional-dependencies]
dev = [
# Document builder
"docutils>=0.12,<0.17",
"sphinx",
"sphinx-autobuild",
"sphinx-jinja>=2.0.1",
"sphinx-rtd-theme",
"sphinx-autodoc-typehints",
"nbsphinx",
"pygments>=2.4.1",
"sphinx-click",
"markupsafe==2.0.1", # soft_unicode issue
# Test
"pytest",
"pytest-cov",
"pytest-click",
# Release
"bump-my-version",
]
[project.urls]
Homepage = "https://github.com/MineralsCloud/cij/"
Repository = "https://github.com/MineralsCloud/cij/"
Issues = "https://github.com/MineralsCloud/cij/issues"
[project.scripts]
cij = "cij.cli.cij:main"
cij-run = "cij.cli.main:main"
cij-run-static = "cij.cli.static:main"
cij-extract = "cij.cli.extract:main"
cij-extract-geotherm = "cij.cli.geotherm:main"
cij-plot = "cij.cli.plot:main"
cij-modes = "cij.cli.modes:main"
cij-fill = "cij.cli.fill:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["cij*"]
exclude = ["tests*", "docs*"]
[tool.setuptools.dynamic]
version = {attr = "cij.version.__version__"}
[tool.setuptools.package-data]
"cij.data" = [
"schema/*.schema.json",
"output/writer_rules.yml",
"constraints/*",
"default/*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --strict-markers"
[tool.coverage.run]
source = ["cij"]
omit = ["*/tests/*", "*/test_*.py"]
[tool.bumpversion]
commit = true
tag = true
tag_name = "v{new_version}"
message = "Bump version to {new_version}"
[[tool.bumpversion.files]]
filename = "cij/version.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'