File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,21 @@ classifiers = [
21
21
" Programming Language :: Python :: 3.14" ,
22
22
]
23
23
keywords = [" zstandard" , " zstd" , " compression" ]
24
+ dependencies = []
25
+
26
+ [project .optional-dependencies ]
27
+ cffi = [
28
+ ' cffi>=1.11 ; python_version < "3.13" and platform_python_implementation != "PyPy"' ,
29
+ ' cffi>=1.17 ; python_version >= "3.13" and platform_python_implementation != "PyPy"' ,
30
+ ]
24
31
25
32
[project .urls ]
26
33
Homepage = " https://github.com/indygreg/python-zstandard"
27
34
Documentation = " https://python-zstandard.readthedocs.io/en/latest/"
28
35
29
36
[build-system ]
30
37
requires = [
31
- " cffi>=1.17.0" ,
38
+ " cffi>=1.17.0 ; platform_python_implementation != 'PyPy' " ,
32
39
" packaging" ,
33
40
" setuptools" ,
34
41
]
Original file line number Diff line number Diff line change 158
158
ext_modules = extensions ,
159
159
cmdclass = {"build_ext" : setup_zstd .RustBuildExt },
160
160
test_suite = "tests" ,
161
- install_requires = [
162
- # cffi is required on PyPy.
163
- "cffi>=%s; platform_python_implementation == 'PyPy'"
164
- % MINIMUM_CFFI_VERSION
165
- ],
166
- extras_require = {
167
- "cffi" : ["cffi>=%s" % MINIMUM_CFFI_VERSION ],
168
- },
169
161
tests_require = ["hypothesis" ],
170
162
)
You can’t perform that action at this time.
0 commit comments