/
pyproject.toml
48 lines (41 loc) · 1.24 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
[project]
name = "defity"
description = "Speedy library to detect file type from initial part of file content"
readme = "README.rst"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
]
[build-system]
build-backend = "maturin"
requires = ["maturin>=0.13.6"]
[tool.maturin]
sdist-include = ["Cargo.lock"]
strip = true
# We don't use Poetry to build and publish packages (do with Maturin instead).
# But we use Poetry to setup virtualenv in GH Action,
# and it requires at least these information.
[tool.poetry]
name = "defity"
version = "0.0.0"
description = "Speedy library to detect file type from initial part of file content"
authors = ["Nguyễn Hồng Quân <ng.hong.quan@gmail.com>"]
[tool.poetry.dependencies]
python = ">=3.7.0"
[tool.poetry.dev-dependencies]
maturin = "^0.13.6"
Sphinx = "^5.3.0"
pytest-mypy = "^0.10.0"
[tool.black]
line-length = 100
target-version = ['py37', 'py310']
include = '\.pyi?$'
skip-string-normalization = true
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = "__pypackages__ _build"