-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry build -o
(was: allow configuring "dist" folder during build)
#3586
Comments
Anyone found a work-around ? |
+1 for doing this. Our build environment requires it to be in a |
This issue also came up in my build environment. |
It seems the current sdist and wheel builder already support an optional target-directory: https://github.com/python-poetry/poetry-core/blob/master/src/poetry/core/masonry/builders/sdist.py#L61 but they are called without it: |
@aabmets perhaps you could clarify your comment? Seems to me the next step to move this issue forward is for someone sufficiently motivated to put together a PR. P.S. I am not a Poetry maintainer, just a subscriber to this issue. I don't happen to be sufficiently motivated myself to make a PR here. |
Right now, we are pushing towards the release of the 1.2 version. The feature mentioned here is not critical for the release. There is also no implementation PR or at least some PoC discussed on our discord server. If someone is interested in adding this, please start a discussion on Poetry discord so the feature can be properly talked through. |
I don't think this is useful as a configuration option in the |
poetry build -o
(was: allow configuring "dist" folder during build)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature Request
Poetry automatically creates a folder in root called "dist" where it puts all distributions files. Is there a way to change this output folder? If not:
Make "dist" folder configurable, by setting a relative path, e.g. build/distribution. This could be done in pyproject.toml:
or as variable in .poetry/config
The text was updated successfully, but these errors were encountered: