-
-
Notifications
You must be signed in to change notification settings - Fork 227
Add option to generate clients without Poetry #120
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
Comments
In my case, I simply want to generate the client code, not the packaging stuff (poetry/pip/else). I'm actually generating clients from several OpenAPI specs and merging them into one package. I'm more than OK dealing myself with the packaging configuration, especially since I have a template for this :) So having an option to skip all the packaging files would be nice as well :) |
True, for the most part the project metadata isn't that important to me since I'll just edit it, but having the dependencies listed is fairly important. |
Actually I wonder, if you add the |
build-system will be included in clients generated by 0.5.0 so they are pip-installable. In a future version we'll add an option to generate with no metadata (and potentially other types of metadata). |
@Tsludorf I think generating with no metadata will also interest you, as you generate clients directly into your consuming projects. |
I added the My workflow might be niche, so I'm happy to track it in my fork. I wanted to mention it in case:
|
Is your feature request related to a problem? Please describe.
Originally requested by @TMiguelT in #119 . The request is the ability to install a generated client with just pip (not Poetry).
Describe the solution you'd like
Instead of generating a pyproject.toml file with Poetry metadata, create a setup.py/requirements.txt to be used with Pip.
Describe alternatives you've considered
Additional common package management tools that might be worth adding support for are:
The text was updated successfully, but these errors were encountered: