-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
61 lines (51 loc) · 1.64 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
# see https://github.com/karlicoss/pymplate for up-to-date reference
[project]
dynamic = ["version"] # version is managed by setuptools_scm
name = "kompress"
dependencies = [
"typing_extensions",
]
requires-python = ">=3.9"
## these need to be set if you're planning to upload to pypi
description = "pathlib.Path adapters to transparently read data from compressed files and folders"
license = {file = "LICENSE"}
authors = [
{name = "Dima Gerasimov (@karlicoss)", email = "[email protected]"},
]
maintainers = [
{name = "Dima Gerasimov (@karlicoss)", email = "[email protected]"},
]
[project.urls]
Homepage = "https://github.com/karlicoss/kompress"
##
[project.optional-dependencies]
testing = [
"pytest",
"ruff",
"mypy",
"lxml", # for mypy html coverage
]
zstd = [
"zstandard",
]
lz4 = [
"lz4"
]
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "dirty-tag"
# nice things about pyproject.toml
# - zip_safe=False isn't necessary anymore
# - correctly discovers namespace packages by defuilt?
# - correctly handles py.typed by default?
# - handles src layout automatically https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout
# things I'm not sure about yet
# - avoiding duplication/variable reuse?
# - file/git dependencies?
# - unclear how to specify namespace package order https://github.com/purarue/reorder_editable/issues/2
# TODO
# - maybe it has a nicer pypi upload system? not sure
# e.g. possibly use hatch/flit/pdb/poetry -- but not sure what's the benefit tbh