-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
107 lines (95 loc) · 3.27 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
[tool.poetry]
name = "iscc-core"
version = "1.1.0"
description = "ISCC - Core Algorithms"
authors = ["Titusz <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://iscc.codes"
repository = "https://github.com/iscc/iscc-core"
documentation = "https://core.iscc.codes/"
keywords=["iscc", "identifier", "media", "hash", "similarity"]
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Cython",
"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",
"Topic :: Multimedia",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Indexing",
]
[tool.poetry.urls]
"Changelog" = "https://core.iscc.codes/changelog"
"Coverage" = "https://app.codecov.io/gh/iscc/iscc-core"
"Bug Tracker" = "https://github.com/iscc/iscc-core/issues"
"Twitter" = "https://twitter.com/iscc_foundation"
"Donate" = "https://iscc.foundation/support"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
cython = { version = ">=3", optional = true }
blake3 = "*"
xxhash = "*"
more-itertools = "*"
pybase64 = "*"
pydantic = "*"
python-dotenv = "*"
uvarint = "*"
loguru = "*"
base58 = "*"
data-url = ">=1.1.0" # Lower versions are API incompatible
jcs = "*"
bitarray = "*"
[tool.poetry.extras]
turbo = ["cython"]
[tool.poetry.group.test.dependencies]
pytest = "*"
coverage = "*"
pytest-cov = "*"
[tool.poetry.group.dev.dependencies]
poethepoet = "*"
black = "*"
ruff = "*"
bandit = "*"
[tool.poetry.group.benchmark.dependencies]
psutil = "*"
py-cpuinfo = "*"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.0"
mkdocstrings-python = "<1.1"
mdformat = "*"
mdformat_admon = "*"
mdformat_tables = "*"
griffe = "<0.27.4"
[tool.black]
line-length = 100
preview = true
enable-unstable-feature = ["string_processing"]
target-version = ['py39']
[tool.poe.tasks]
gentests = { cmd = "poetry run python -m tests.build_test_data", help = "Generate conformance test data" }
format = { cmd = "poetry run black .", help = "Code style formating with black" }
docs = { script = "tests.build_docs:main", help = "Copy README.md to /docs" }
format-md = { cmd = "mdformat --wrap 100 README.md", help = "Markdown formating with mdformat" }
lf = { cmd = "poetry run python -m tools.lf", help = "Convert line endings to lf" }
test = { cmd = "poetry run pytest --cov=iscc_core --cov-fail-under=100", help = "Run tests with coverage" }
sec = { cmd = "poetry run bandit -r iscc_core -q", help = "Security check with bandit" }
all = ["gentests", "format", "docs", "format-md", "lf", "test", "sec"]
[tool.poetry.build]
generate-setup-file = true
script = "build.py"
[build-system]
requires = ["poetry-core", "setuptools", "cython"]
build-backend = "poetry.core.masonry.api"