Skip to content

Add pyproject.toml to specify build-time requirements#64

Merged
JeremyCCHsu merged 2 commits intoJeremyCCHsu:masterfrom
r9y9:pyproject
May 25, 2021
Merged

Add pyproject.toml to specify build-time requirements#64
JeremyCCHsu merged 2 commits intoJeremyCCHsu:masterfrom
r9y9:pyproject

Conversation

@r9y9
Copy link
Contributor

@r9y9 r9y9 commented May 24, 2021

With this, I believe numpy import hack in the setup.py is no longer necessary and it may fix installation issues like #63

With this, I believe numpy import hack in the setup.py is no longer
necessary and it may fix installation issues like
JeremyCCHsu#63
@r9y9 r9y9 changed the title Add pyproject.toml to specify build-time requirements WIP: Add pyproject.toml to specify build-time requirements May 24, 2021
@r9y9 r9y9 changed the title WIP: Add pyproject.toml to specify build-time requirements Add pyproject.toml to specify build-time requirements May 24, 2021
"wheel",
"setuptools",
"cython>=0.24.0",
"numpy<v1.20.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: this line is necessary to prevent ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject.

Ref: ymd-h/cpprb#3

@r9y9
Copy link
Contributor Author

r9y9 commented May 24, 2021

Done. CIs are all green.

@r9y9
Copy link
Contributor Author

r9y9 commented May 25, 2021

@JeremyCCHsu Could you take a look?

@JeremyCCHsu
Copy link
Owner

That was great! Thank you so much @r9y9 !

@JeremyCCHsu JeremyCCHsu merged commit cb69e01 into JeremyCCHsu:master May 25, 2021
@r9y9 r9y9 deleted the pyproject branch May 25, 2021 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants