-
Notifications
You must be signed in to change notification settings - Fork 73
/
pyproject.toml
98 lines (91 loc) · 2.48 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
[build-system]
# setuptools >= 74.1.0 required to build C extensions via pyproject.toml
requires = ["setuptools >= 74.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mmh3"
version = "5.0.2-dev.1"
description = "Python extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions."
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["utility", "hash", "MurmurHash"]
requires-python = ">=3.8"
authors = [
{name = "Hajime Senuma", email="[email protected]"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities"
]
[project.optional-dependencies]
test = [
"pytest == 8.3.3",
"pytest-sugar == 1.0.0"
]
lint = [
"black == 24.10.0",
"clang-format == 19.1.2",
"isort == 5.13.2",
"pylint == 3.3.1"
]
type = [
"mypy == 1.13.0"
]
docs = [
"myst-parser == 4.0.0",
"shibuya == 2024.10.15",
"sphinx == 8.1.3",
"sphinx-copybutton == 0.5.2"
]
benchmark = [
"pymmh3 == 0.0.5",
"pyperf == 2.8.0",
"xxhash == 3.5.0"
]
plot = [
"matplotlib == 3.9.2",
"pandas == 2.2.3"
]
[project.urls]
Homepage = "https://pypi.org/project/mmh3/"
Repository = "https://github.com/hajimes/mmh3"
Changelog = "https://github.com/hajimes/mmh3/blob/master/CHANGELOG.md"
"Bug Tracker" = "https://github.com/hajimes/mmh3/issues"
[tool.isort]
profile = "black"
src_paths = ["src/mmh3/__init__.pyi", "util", "tests", "benchmark", "docs"]
[tool.setuptools]
include-package-data = true
ext-modules = [
{name = "mmh3", sources = ["./src/mmh3/mmh3module.c", "./src/mmh3/murmurhash3.c"]}
]
[tool.setuptools.package-data]
mmh3 = ["*.h"]
[tool.pylint]
ignore-paths = [
"^build",
"^venv",
"^.venv",
"^.tox",
"^src/mmh3/__init__.pyi"
]
# Use multiple processes to speed up Pylint.
# The value 0 specifies the number of processors to be auto-detected.
# This setting can be found in the template file of super-linter 7.0.0.
jobs = 0
# import-error: An error tricky to resolve, especially on super-linter.
# wrong-import-order: Respect isort's import order.
disable = [
"import-error",
"wrong-import-order"
]