forked from darvid/python-hyperscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
117 lines (105 loc) · 2.85 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
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.(git|hg|mypy_cache|tox|venv)
| _?build
| dist
)/
'''
skip-string-normalization = true
[tool.ruff]
line-length = 79
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001",
]
src = ["hyperscan", "tests"]
[tool.ruff.isort]
known-first-party = ["hyperscan"]
[tool.commitizen]
name = "cz_commitizen_emoji"
version = "0.4.0"
version_files = [
"pyproject.toml:version",
"src/hyperscan/__init__.py:__version__",
]
[tool.poetry]
name = "hyperscan"
version = "0.4.0"
description = "Python bindings for Hyperscan."
authors = ["David Gidwani <david.gidwani@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/darvid/python-hyperscan"
repository = "https://github.com/darvid/python-hyperscan"
documentation = "https://python-hyperscan.rtfd.io"
keywords = ["regex", "hypercan"]
include = ["README.md", "CHANGELOG.md"]
packages = [{ include = "hyperscan", from = "src" }]
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
]
[tool.poetry.build]
script = "build_hyperscan_extension.py"
generate-setup-file = true
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
[tool.poetry.dev-dependencies]
pytest = "^6.1.2"
pytest-mock = "^3.3.1"
requests = "^2.25.0"
urllib3 = "^1.26.2"
tox = "^3.20.1"
commitizen = "^2.10.0"
pre-commit = "^2.9.2"
python-semantic-release = "^7.32.2"
clang-format = "^9.0.0"
commitizen-emoji = "^0.1.5"
[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
matplotlib = "^3.6.2"
memunit = "^0.5.2"
ruff = "^0.0.211"
[tool.semantic_release]
build_command = false
commit_author = "github-actions <action@github.com>"
commit_parser = "semantic_release.history.emoji_parser"
major_emoji = "💥"
minor_emoji = "✨,🎉,🚀,🚧"
patch_emoji = "🚑,🔒,🐛,⚡️,🥅,👽,♿️,💬,🔍,🍎,🐧,🏁,🤖,🍏"
remove_dist = false
upload_to_release = true
upload_to_pypi = true
use_textual_changelog_sections = true
version_variable = [
"pyproject.toml:version",
"src/hyperscan/__init__.py:__version__",
]
[build-system]
requires = ["setuptools", "poetry>=0.12"]
build-backend = "poetry.masonry.api"