-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (73 loc) · 2.99 KB
/
pyproject.toml
File metadata and controls
78 lines (73 loc) · 2.99 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
69
70
71
72
73
74
75
76
77
78
# 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 < 72 because of this: https://github.com/pypa/distutils/issues/283
# Use setuptools < 74 because of removed msvccompiler:
# https://github.com/pypa/setuptools/issues/4612
# https://github.com/pypa/setuptools/issues/3532
# https://github.com/pypa/setuptools/pull/3505
# https://github.com/zhisong/pyoculus/issues/10
# https://setuptools.readthedocs.io/en/latest/history.html#id284
# Pin Cython >= 3 because of "cpdef enum class IndexFormat"
# 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);
# -> https://github.com/cython/cython/issues/7006
# CPython 3.14t requires Cython:
# Cyton >= 3, <3.1 resulted in this on macos-14: unknown type name '__pyx_vectorcallfunc'
# https://github.com/cython/cython/issues/6443
requires = [
"setuptools >= 61.2, < 74",
# 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"
]
build-backend = "setuptools.build_meta"
[project]
name = "rapidgzip"
version = "0.16.0"
description = "Parallel random access to gzip 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 :: 3 - Alpha",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"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/rapidgzip"}
requires-python = ">= 3.9"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.scripts]
rapidgzip = "rapidgzip:cli"
[tool.setuptools]
py-modules = ["rapidgzip"]
license-files = [
"LICENSE-APACHE",
"LICENSE-MIT",
]