ports/math/py-pyreadstat/files/patch-setup.py
Po-Chuan Hsieh f452d7b439
math/py-pyreadstat: Add py-pyreadstat 1.2.8
pyreadstat is a python package to read and write sas (sas7bdat, sas7bcat,
xport), spps (sav, zsav, por) and stata (dta) data files into/from pandas
dataframes.
2024-11-03 21:20:44 +08:00

14 lines
385 B
Python

--- setup.py.orig 2024-10-18 20:21:39 UTC
+++ setup.py
@@ -26,11 +26,6 @@ if PY_MAJOR_VERSION < 3 and os.name == 'nt':
if PY_MAJOR_VERSION < 3 and os.name == 'nt':
raise Exception("Python 2 is not supported on Windows.")
-cyver = int(Cython.__version__.split(".")[0])
-if cyver < 3:
- msg = "Cython version 3 or newer required"
- raise Exception(msg)
-
ext = '.pyx'