python-wheel-build / fromager

Build your own wheels
https://fromager.readthedocs.io/en/latest/
Apache License 2.0
7 stars 11 forks source link

make _default_prepare_source function public #301

Closed dhellmann closed 2 months ago

dhellmann commented 2 months ago

We have a few examples of overrides that want to extend, but not completely replace, the behavior of the default implementation for prepare_source. We should make the existing default public.

We should also change the API to return the is_new flag so that those overrides can tell when a new source directory has been created so they can avoid repeating operations that may not be idempotent.