-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
91 lines (76 loc) · 2.49 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
[project]
name = "stimupy"
description = "Stimuli for vision science, as image arrays"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
keywords = ["stimulus", "visual perception", "psychophysics"]
license = { file = "LICENSE" }
authors = [
{ name = "Lynn Schmittwilken", email = "[email protected]" },
{ name = "Joris Vincent", email = "[email protected]" },
{ name = "Matko Matic" },
{ name = "Guillermo Aguilar" },
{ name = "Marianne Maertens" },
]
maintainers = [
{ name = "Lynn Schmittwilken", email = "[email protected]" },
{ name = "Joris Vincent", email = "[email protected]" },
]
version = "1.1.2"
requires-python = ">=3.6"
dependencies = ["numpy", "scipy", "matplotlib", "pandas", "Pillow"]
[project.optional-dependencies]
dev = ["pytest", "black", "pyupgrade", "flake8"]
docs = [
"jupyter-book==0.14",
"jupytext>=1.13.3",
"jupyterlab_myst",
"myst_nb",
"ipywidgets",
"sphinx-hoverxref",
]
[project.urls]
repository = "https://github.com/computational-psychology/stimupy.git"
[build-system]
requires = ["setuptools >= 40.9.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = [
"stimupy*",
] # package names should match these glob patterns (["*"] by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
# [tool.setuptools.dynamic]
# version = {attr = "stimupy.__version__"}
[tool.black]
line-length = 99
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 99
[tool.semantic_release]
commit_message = "v{version}\n\nThis commit was automatically generated by python-semantic-release"
major_on_zero = true
tag_format = "v{version}"
version_variables = [ # version location(s)
"stimupy/__init__.py:__version__", # in the init.py, so that stimupy.__version__ works
"pyproject.toml:version", # in this pyproject.toml
]
build_command = "pip3 install --upgrade build; python3 -m build"
[tool.semantic_release.branches.main]
match = "(main|master|build_.*)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.remote]
name = "origin"
type = "github"
[tool.semantic_release.publish]
upload_to_vcs_release = true # upload sdist, wheel to release-tag
[tool.codespell]
skip = "./docs/_build/*,CHANGELOG.md"
exclude-file = ".codespell.ignore"