-
-
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
Experiments in removing setup.py #33
Conversation
Codecov Report
@@ Coverage Diff @@
## master #33 +/- ##
==========================================
- Coverage 81.04% 79.13% -1.91%
==========================================
Files 4 4
Lines 269 278 +9
==========================================
+ Hits 218 220 +2
- Misses 51 58 +7
Continue to review full report at Codecov.
|
b6415b0
to
c0e5c51
Compare
I think the downstream failures are actually unrelated and due to astropy/astropy#12425 |
@olebole - just out of curiosity, does/can Debian packaging deal with packages that have no |
@astrofrog not (yet) out of the box. I can, however, run whatever I want for the build, so it would be not a big problem. And I would guess that our Python "magic" will support it sooner or later. I could open a bug to trigger this extension if you like. For reference: What I just tried was to remove from my latest new package, cmyt the trivial
so one sees that it just tries to run Update This feature is planned, see Debian#1001459 (comment) |
extension_helpers/__init__.py
Outdated
cfg.read(config_files[0]) | ||
if (cfg.has_option("extension_helpers", "use_extension_helpers") and | ||
cfg.get("extension_helpers", "use_extension_helpers")): | ||
extension_helpers_cfg = cfg["extension_helpers"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We aren't actually using this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes guess we can remove this line
extension_helpers/__init__.py
Outdated
|
||
def _finalize_distribution_hook(distribution): | ||
""" | ||
Something something setuptools entrypoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆
@olebole - thanks for the update! |
I think this looks good, I am happy with it if you are @astrofrog (I can't approve my own PR!) |
This is a very quick hack at #32.
The main issue here is that
get_compiler()
is making a dummy Distribution object to give it a hook to get the compiler options, which is calling the entry point function which is calling get_compiler in an infinite loop.We might want to consider pausing this work until we resolve the future of this package without distutils.