Skip to content
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

Option to always create src folder when using poetry new command #9390

Open
Heus-Sueh opened this issue May 5, 2024 · 1 comment
Open

Option to always create src folder when using poetry new command #9390

Heus-Sueh opened this issue May 5, 2024 · 1 comment
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged

Comments

@Heus-Sueh
Copy link

Issue Kind

Brand new capability

Description

The Problem

Some people always prefer the app to be in the project's src folder instead of the project root and they always have to write poetry new with the --src option, which ends up wasting a millisecond, which seems little, but by putting this together you are wasting a lot of the user/developer's time

The Solution

An option in poetry's config.toml to always create the src folder

like this
use-src-dir = true

Impact

The impact will be positive in my opinion, because you don't adopt this project model and leave an option for those who want the other way, that way no one gets upset

Workarounds

you achieve this manually

@Heus-Sueh Heus-Sueh added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels May 5, 2024
@dimbleby
Copy link
Contributor

dimbleby commented May 6, 2024

and then if someone has set this configuration, how would they create a project that does not use the src layout? Yet another flag?

I expect that the millisecond saved is not going to be worth the trouble of worrying about such things, and this should be: thanks but no thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants