-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ideas for allowing usage without setup.py #32
Comments
That sounds feasible. setuptools.finalize_distribution_options is new I think (at least to me). I also supplied this proposal some time ago, but haven't had a chance to act on it: pypa/setuptools#2220 However, that may not be sufficient for some extension modules that need some programmatic configuration. There's no generic standard, e.g. for getting things like the path to numpy includes. |
I was also thinking about how we might define extensions in e.g. |
I think with this approach |
#33 has been merged and supports enabling extension-helpers via setup.cfg with no changes required to |
I've been thinking into whether we can try and make it so that using setup.py is not required - one possible option to investigate would be to make use of https://setuptools.pypa.io/en/latest/userguide/extension.html#customizing-distribution-options to add extensions to the Distribution object. Since all that extension-helpers really does is:
why not simply use the entry point above and assign
Distribution.ext_modules
?The text was updated successfully, but these errors were encountered: