Skip to content

Commit ae557cc

Browse files
authored
Merge pull request #1391 from pquentin/cffi-wheel
Add back cffi on install_requires
2 parents c698d68 + 42edaa3 commit ae557cc

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

setup.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,13 @@
8585
"idna",
8686
"outcome",
8787
"sniffio",
88-
# PEP 508 style, but:
89-
# https://bitbucket.org/pypa/wheel/issues/181/bdist_wheel-silently-discards-pep-508
90-
#"cffi; os_name == 'nt'", # "cffi is required on windows"
88+
# cffi 1.12 adds from_buffer(require_writable=True) and ffi.release()
89+
"cffi>=1.12; os_name == 'nt'", # "cffi is required on windows"
90+
"contextvars>=2.1; python_version < '3.7'"
9191
],
9292
# This means, just install *everything* you see under trio/, even if it
9393
# doesn't look like a source file, so long as it appears in MANIFEST.in:
9494
include_package_data=True,
95-
# Quirky bdist_wheel-specific way:
96-
# https://wheel.readthedocs.io/en/latest/#defining-conditional-dependencies
97-
# also supported by pip and setuptools, as long as they're vaguely
98-
# recent
99-
extras_require={
100-
# cffi 1.12 adds from_buffer(require_writable=True) and ffi.release()
101-
":os_name == 'nt'": ["cffi >= 1.12"], # "cffi is required on windows",
102-
":python_version < '3.7'": ["contextvars>=2.1"]
103-
},
10495
python_requires=">=3.5",
10596
keywords=["async", "io", "networking", "trio"],
10697
classifiers=[

0 commit comments

Comments
 (0)