-
Notifications
You must be signed in to change notification settings - Fork 451
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
Make setuptools an optional dependency? #1040
Comments
OK so the issue is... the file "babel/messages/frontend.py" implements the setuptools commands integration and the command line interface of Sure it would be nice to make the setuptools commands integration optional, but:
|
One weird approach to solving this would be to make a new package "babel-core" and move everything except "frontend" into that package. Annoying to maintain, though. |
I think most people get babel through the immensely popular I think both ideas you mentioned are viable from a user's perspective, either way it will be a breaking change. But it may be a good chance to rework the frontend? |
I use the babel CLI (extract-messages, update-catalog, compile-catalog). What is the “setuptools commands integration”? |
See this commit (from a project that uses babel) that removes this integration because we don't use setup.py anymore. Documentation: |
TBH, I think we can do with a fairly small translation/emulation layer so our underlying commands are runner-agnostic, and we have a setuptools wrapper for each of them, and a standalone CLI (argparse) wrapper for them. The latter is already done, really, it's just a matter of un-inheriting the current Commands from the setuptools Command base class and writing the wrapper that way... |
Originally posted by @sigma67 in #1031 (comment)
The text was updated successfully, but these errors were encountered: