-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
70 lines (59 loc) · 1.75 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
[tool.poetry]
name = "fastcdc"
version = "1.7.0"
description = "FastCDC (content defined chunking) in pure Python."
authors = ["Titusz Pan <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/iscc/fastcdc-py"
keywords = ["cdc", "chunking"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
"Topic :: Multimedia",
"Topic :: System :: Archiving",
"Topic :: Utilities",
"Topic :: Software Development",
]
[tool.poetry.scripts]
fastcdc = 'fastcdc.cli:cli'
[tool.poetry.dependencies]
python = ">=3.7.2,<4.0"
click = "^8.1"
humanize = "^4.0"
codetiming = "^1.2"
click-default-group = "^1.2"
py-cpuinfo = "^9.0"
xxhash = { version = "^3.0", optional = true }
blake3 = { version = "^0.3", optional = true }
[tool.poetry.extras]
hashes = ["xxhash", "blake3"]
[tool.poetry.group.dev.dependencies]
cython = "*"
pytest = "*"
pytest-benchmark = "*"
poethepoet = "*"
ruff = "*"
[tool.ruff]
line-length = 88
[tool.ruff.format]
line-ending = "lf"
[tool.poe.tasks]
format-code = { cmd = "poetry run ruff format", help = "Code style formating with ruff" }
test = { cmd = "poetry run pytest", help = "Run tests" }
all = ["format-code", "test"]
[tool.poetry.build]
generate-setup-file = true
script = "build.py"
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools", "wheel", "cython"]
build-backend = "poetry.core.masonry.api"