Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IronPython fails with obsure error message. #177
I have been under the false impression that setuptools could not be used with IronPython -- which caused me no small problem when trying to configure more complex systems.
I suggest trapping the error with a friendly exception message making that fact known to affected users.
I've taken the suggestion to "fail gracefully" a step further and decided instead to allow the install to proceed in environments where a call stack is not available, issuing a warning instead.
I believe this approach is suitable as (a) bdist_* commands are less frequently run and certainly less relied upon for the basic usage (installing setuptools), (b) a warning is issued in the case where this behavior might be problemmatic.
The value in allowing setuptools to install on IronPython outweighs any issue this might raise running bdist_* commands on other non-CPython environments.