pyreadr icon indicating copy to clipboard operation
pyreadr copied to clipboard

Wheel building on MacOS arm64

Open lewisjared opened this issue 2 years ago • 0 comments

Very useful library!

I'm looking at adding pyreadr as a dependency to a project, but am blocked because the source distribution cannot be easily installed (Python=3.9, Mac M1).

I see in #18 you didn't want to include Cython in install_requires, but the python packaging ecosystem has evolved since then. Pip now supports build isolation and build-time depencencies (PEP 518). This functionality should enable easier wheel building without adding Cython as a run-time dependency.

Would you be open to a PR adding pyproject.toml to the project which makes Cython a build-time dependency?

Expected behavior

pip install pyreadr works when a wheel isn't available and Cython isn't included as a dependency (pip install pyreadr --no-binary ":all:" can be used to force the use of the source distribution)

Setup Information:

How did you install pyreadr? (pip, conda, directly from repo)

pip install pyreadr

Platform (windows, macOS, linux, 32 or 64 bit)

macOS arm64

Python Version

Python 3.9.12

Python Distribution (System, plain python, Anaconda)

miniconda

Using Virtualenv or condaenv?

venv

lewisjared avatar Sep 13 '22 04:09 lewisjared