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 = [
2121 " Programming Language :: Python :: 3.14" ,
2222]
2323keywords = [" 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+ ]
2431
2532[project .urls ]
2633Homepage = " https://github.com/indygreg/python-zstandard"
2734Documentation = " https://python-zstandard.readthedocs.io/en/latest/"
2835
2936[build-system ]
3037requires = [
31- " cffi>=1.17.0" ,
38+ " cffi>=1.17.0 ; platform_python_implementation != 'PyPy' " ,
3239 " packaging" ,
3340 " setuptools" ,
3441]
Original file line number Diff line number Diff line change 158158 ext_modules = extensions ,
159159 cmdclass = {"build_ext" : setup_zstd .RustBuildExt },
160160 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- },
169161 tests_require = ["hypothesis" ],
170162)
You can’t perform that action at this time.
0 commit comments