Closed navytux closed 4 years ago
How about this 67d717a6de16deef501e53ce7a033ef69c223125 ?
@mdavidsaver thanks for feedback and the patch. To me it is a step into right direction, but this way it allows to pass e.g. build_ext that does not inherit from setuptools_dso.build_ext at all which will lead to dso-related functionality to break. I thus suggest to consider applying https://github.com/mdavidsaver/setuptools_dso/pull/6 (sorry for if there is any silly mistake - done in a hurry).
Fair point, and this restriction could be relaxed in future if it proves useful.
Thanks for feedback and for merging. Making 1.3 release is also appreciated.
The timing works well. I needed a fix for Cython anyway (https://github.com/mdavidsaver/setuptools_dso/commit/b49e171c599a5ab11b20be7ddf9fe3404b1556b8).
Good to hear.
Currently setuptools_dso hardcodes its own
build_ext
class to be used insidesetup()
. But projects sometimrs need to amendbuild_ext
behaviour - see e.g. here for examples:https://lab.nexedi.com/nexedi/wendelin.core/blob/b26ba558/setup.py#L147-153 https://lab.nexedi.com/kirr/pygolang/commit/7ae8c4f3 https://lab.nexedi.com/kirr/pygolang/commit/b4feee6f
it would be good if there would be some way to override used
build_ext
without playing dirty games of monkey-patching setuptools_dso module:https://lab.nexedi.com/kirr/pygolang/blob/b4feee6f/golang/pyx/build.py#L113-120
Thanks beforehand, Kirill