Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (63 loc) · 2.6 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (63 loc) · 2.6 KB
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
# See https://setuptools.readthedocs.io/en/latest/build_meta.html
[build-system]
# Use setuptools >= 43 because it automatically includes pyproject.toml in source distribution
# Use setuptools >= 46.5 to use attr: package.__version__
# Use setuptools >= 61 for pyproject.toml support
# Use setuptools < 81 because of: https://github.com/pypa/setuptools/issues/4903
# The exact version is not yet known. The version to be released in 2027-02.
# > By 2027-Feb-18, you need to update your project and remove deprecated calls
# https://setuptools.readthedocs.io/en/latest/history.html#id284
# Pin Cython < 3.1.0 because of this errors on macos-14 runner (2025-06):
# indexed_bzip2.cpp:16328:29: error: use of undeclared identifier 'PyDescr_NewMember'
# descr = PyDescr_NewMember(type, memb);
# -> I think this was only an issue for Python 3.8, which is not supported anymore.
requires = [
"setuptools >= 61.2, < 85",
# https://github.com/pypa/distutils/issues/283
# https://github.com/pypa/cibuildwheel/issues/2676#issuecomment-3603165647
"setuptools<72; platform_python_implementation == 'PyPy' and python_version < '3.11'",
"wheel",
"cython ~= 3.0"
]
[project]
name = "indexed_bzip2"
version = "2.0.1"
description = "Fast random access to bzip2 files"
authors = [{name = "Maximilian Knespel", email = "mxmlnknp@gmail.com"}]
license = {text = "MIT"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: C++",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Archiving",
"Topic :: System :: Archiving :: Compression",
]
urls = {Homepage = "https://github.com/mxmlnkn/librapidarchive"}
requires-python = ">= 3.9"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.scripts]
ibzip2 = "indexed_bzip2:cli"
[tool.setuptools]
py-modules = ["indexed_bzip2"]
license-files = [
"LICENSE-APACHE",
"LICENSE-MIT",
]