-
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 can't find source files #92
Comments
Ah, I see, the package directory actually needs to have the same name as the project. Is there a way to specify a different name? Like it can be specified in
|
I was wondering this also. By default it seems like if you call your project |
At the moment, Regarding a |
Just to make sure I understand, so the source layout will have to be something like this?
|
Not exactly. Let's say the structure of your project is a package you would need to have something like this:
If your project is a module, it would be:
|
Ah I see. Yes that makes sense. Thanks for the explanation, I'll close this issue then and wait for |
Poetry requires the source directory to have the same name as the project name, as per <python-poetry/poetry#92>.
Poetry requires the source directory to have the same name as the project name, as per <python-poetry/poetry#92>.
Poetry requires the source directory to have the same name as the project name, as per <python-poetry/poetry#92>.
Poetry requires the source directory to have the same name as the project name, as per <python-poetry/poetry#92>. Co-authored-by: Mitchell Paff <[email protected]>
Release 1.0.0rc3
Just to make sure: this implies we don't have to specify anything about the project being in |
No, this assumption is incorrect. you need to add to the
|
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. |
I'm trying to
poetry build
a Python project, but it fails with the message:poetry install
andpoetry update
work fine, and I can build using the standardsetup.py bdist_wheel
. I have trying adding the following to mypyproject.toml
but no luck:Any pointers as to what I'm doing wrong would be highly appreciated.
The text was updated successfully, but these errors were encountered: