-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: upstream setuptools patches to upstream setuptools #340
Comments
This is a summary of what we do after merging #338 :
from setuptools import setup, Extension
setup(
name="hpy-simple-example",
hpy_ext_modules=[
Extension('simple', sources=['simple.c')]),
],
setup_requires=['hpy'],
)
Lines 128 to 142 in 2211087
Lines 95 to 99 in 2211087
Line 261 in 2211087
Lines 285 to 301 in 2211087
On top of these, there are various hacks and bad monkey-patching to make things works. For example, we have to use this ugly hack to be able to distinguish hpy and normal extensions: Lines 176 to 195 in 2211087
|
We could think about supporting pyproject.toml build systems as well or instead of setuptools. The scientific python projects have moved to meson/meson-python. |
Agreed. Btw. this relates to #435 . |
This would simplify building projects that have migrated to HPy. This task would be something like
The text was updated successfully, but these errors were encountered: