-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
93 lines (80 loc) · 2.29 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
[build-system]
requires = ["setuptools>=65", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pyflow-wellies"
requires-python = ">=3.8"
authors = [
{name = "Corentin Carton de Wiart", email = "[email protected]"},
]
maintainers = [
{name = "Juan Pereira Colonese", email = "[email protected]"},
]
description = "Collection of pyflow tools for ecflow suites"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Code Generators",
]
dynamic = ["version", "readme"]
dependencies = [
"jinja2",
"pyyaml",
"pyflow-workflow-generator >= 3.4.1",
"tracksuite",
]
[project.urls]
repository = "https://github.com/ecmwf/pyflow-wellies"
documentation = "https://pyflow-wellies.readthedocs.io"
issues = "https://github.com/ecmwf/pyflow-wellies/issues"
[project.optional-dependencies]
test = [
"pytest",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings-python",
"mkdocs-autorefs",
"mkdocs-gen-files",
"pymdown-extensions",
"markdown-exec[ansi]",
]
[project.scripts]
wellies-quickstart = "wellies.quickstart:main"
# Code inspection
[tool.black]
line-length = 79
[tool.isort]
profile="black"
# Testing
[tool.pytest]
addopts = "--pdbcls=IPython.terminal.debugger:Pdb"
testpaths = [
"tests",
]
# Packaging/setuptools options
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests"]
[tool.setuptools_scm]
write_to = "wellies/_version.py"
write_to_template = '''
# Do not change! Do not track in version control!
__version__ = "{version}"
'''
parentdir_prefix_version='pyflow-wellies-' # get version from GitHub-like tarballs
fallback_version='0.7'