-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
153 lines (137 loc) · 4.93 KB
/
pyproject.toml
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[project]
name = "sansmic"
description = "Sandia solution mining modeling software"
readme = "README.md"
requires-python = ">=3.9"
version = "1.0.7"
authors = [
{ name = "National Technology & Engineering Solutions of Sandia, LLC (NTESS)" },
{ name = "SANSMIC Authors (see AUTHORS.md)" },
]
maintainers = [{ name = "David Hart", email = "david.hart@sandia.gov" }]
dependencies = ["numpy", "pandas", 'tomli; python_version < "3.11"', "click"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
'Intended Audience :: End Users/Desktop',
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: C++",
"Topic :: Scientific/Engineering",
]
[project.optional-dependencies]
formats = ['h5py', 'openpyxl', 'tabulate', 'pyyaml', 'lasio']
examples = ['nbmake', 'matplotlib']
tests = ['pytest', 'pytest-cov']
devel = [
'pyyaml',
'pre-commit',
'pyproject_hooks',
'pytest',
'pytest-cov',
'black',
'pybind11',
'nbmake',
'matplotlib',
'python-semantic-release',
]
docs = [
'Sphinx',
'pydata-sphinx-theme',
'sphinx_design',
'sphinxcontrib-bibtex',
'breathe',
'exhale',
'sphinx-click',
]
[project.urls]
Documentation = "https://sandialabs.github.io/sansmic"
Issues = "https://github.com/sandialabs/sansmic/issues"
Repository = "https://github.com/sandialabs/sansmic.git"
[project.scripts]
sansmic = "sansmic.app:run"
sansmic-convert = "sansmic.app:convert"
[build-system]
requires = ["setuptools", "pybind11"]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
skip = ["cp313-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux*"]
test-extras = "tests,examples,formats"
test-command = "pytest {project}/tests"
[tool.setuptools.package-data]
"sansmic" = ["src/python/sansmic/*.pyd"]
[tool.setuptools.package-dir]
sansmic = "src/python/sansmic"
[tool.semantic_release]
assets = []
build_command_env = []
commit_message = "chore: update version text to {version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
allow_zero_version = false
repo_dir = "."
no_git_verify = false
tag_format = "v{version}"
version_toml = ["pyproject.toml:project.version"]
version_variables = [
"setup.py:__version__",
"src/python/sansmic/_version.py:__version__",
"docs/conf.py:version",
]
[tool.semantic_release.branches.release]
match = "(main|staging)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.changelog]
template_dir = "templates"
default_templates.changelog_file = "CHANGELOG.md"
exclude_commit_patterns = ["build", "ci", "chore", "^Bump", "style", "^Merge branch"]
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = true
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
# Non-source code changes (no change to version; omit from CHANGELOG by default)
"build", # Changes to build system or external dependencies (omit from CHANGELOG - manually add if needed)
"ci", # Changes to CI configuration files and scripts (omit from CHANGELOG - manually add if needed)
"chore", # Other changes that don't touch the source code (omit from CHANGELOG - manually add if needed)
# Changes to test suites (no change to version; include in CHANGELOG by default)
"test", # Adding missing tests or correcting existing tests (does not change package code)
# Changes to source code (possible change to version; include in CHANGELOG by default)
"fix", # A bug fix (a patch-level version change)
"perf", # A code change that improves performance (at-least patch-level, possibly minor version change)
"feat", # A new feature or functionality (at-least minor, possibly major version change)
"refactor", # A change that does not add a feature nor fix a bug (could be major, minor or patch)
"docs", # Documentation-only changes within the source code (no version level change)
"style", # A code that does not change meaning of the code (no version level change)
"release", # A push to main
]
minor_tags = ["feat", "release(feat)"]
patch_tags = ["fix", "perf", "refactor"]
default_bump_level = 0
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
insecure = false
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true