-
Notifications
You must be signed in to change notification settings - Fork 59
/
pyproject.toml
89 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
[build-system]
requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "delocate"
dynamic = ["version"]
description = "Move macOS dynamic libraries into package"
authors = [{ name = "Matthew Brett", email = "matthew.brett@gmail.com" }]
maintainers = [{ name = "Matthew Brett", email = "matthew.brett@gmail.com" }]
readme = "README.rst"
requires-python = ">=3.9"
license = { file = "LICENSE" }
dependencies = [
"bindepend; sys_platform == 'win32'",
"machomachomangler; sys_platform == 'win32'",
"packaging>=20.9",
"typing_extensions",
"macholib",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Build Tools",
"Typing :: Typed",
]
[project.scripts]
delocate-addplat = "delocate.cmd.delocate_addplat:main"
delocate-fuse = "delocate.cmd.delocate_fuse:main"
delocate-listdeps = "delocate.cmd.delocate_listdeps:main"
delocate-merge = "delocate.cmd.delocate_merge:main"
delocate-patch = "delocate.cmd.delocate_patch:main"
delocate-path = "delocate.cmd.delocate_path:main"
delocate-wheel = "delocate.cmd.delocate_wheel:main"
[project.urls]
Homepage = "http://github.com/matthew-brett/delocate"
[tool.setuptools_scm]
write_to = "delocate/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
required_plugins = ["pytest-console-scripts>=1.4.0", "pytest-cov"]
testpaths = ["delocate/"]
addopts = ["--doctest-modules", "--cov=delocate", "--cov-config=.coveragerc"]
log_file_level = "DEBUG"
[tool.mypy]
files = ["*.py", "delocate"]
python_version = "3.9"
[[tool.mypy.overrides]] # Ignore delocate._version module.
module = "delocate._version"
ignore_errors = true
ignore_missing_imports = true
[tool.ruff]
line-length = 80
[tool.ruff.lint] # https://docs.astral.sh/ruff/rules/
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # Pyflakes
"I", # isort
"D", # pydocstyle
"UP", # pyupgrade
"FA", # flake8-future-annotations
]
ignore = [
"ANN101", # missing-type-self
"ANN102", # missing-type-cls
]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["D103"] # Docstrings not required for test functions
[tool.ruff.lint.pydocstyle]
convention = "numpy"