Skip to content

Commit

Permalink
Try out cffi trick from persistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac authored Apr 26, 2024
1 parent 4357717 commit f2a7888
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
from setuptools import find_packages
from setuptools import setup

PY313_CFFI_GH_DEP = (
"cffi @ git+https://github.com/python-cffi/cffi.git ; "
"platform_python_implementation == 'CPython' and "
"python_version >= '3.13a0'"
)

def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
Expand Down Expand Up @@ -127,7 +132,9 @@ def read(*rnames):
'zope.size',
'zope.traversing>=4.0.0a1',
'setuptools',
PY313_CFFI_GH_DEP,
],
setup_requires=[PY313_CFFI_GH_DEP],
extras_require=extras,
tests_require=extras['test'],
include_package_data=True,
Expand Down

0 comments on commit f2a7888

Please sign in to comment.