-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bad installation location for metadata files #44
Comments
Hi @sduenas, thanks for opening the issue.
I was able to reproduce the error. I tried building the packages and experimenting with them. It looks like the error is because of the (faulty?) wheel packages.
The whl package is inflated into the
I guess they have to be present in the
|
@vchrombie correct. I think they should be under |
Yup, makes sense to me.
I agree with this. Not very sure, but looks like the issue is from the poetry side. I will open an issue in poetry repository to see if anyone experiences the same issue or if there is any workaround. |
I hope there's a workaround to fix this problem because if we need to wait for poetry, we might not have it in a stable release for the next 2 years. |
Update from python-poetry/poetry#4494 (comment)
storing the files in the root directory is something that is needed by the poetry
yes, I can confirm this. The
if we agree to this point, we can change the
This would give us the below results for the packaging.
The Please let me know what do you think. I can open the PR if needed. |
Metadata files such as
AUTHORS
,NEWS
, etc, aren't correctly installed when the package is installed usingpip
.This is the content of the
RECORD
file, as you can see,AUTHORS
and so on are installed in the root directory (normally,lib/python<version>/site-packages
.You can reproduce this error creating a new environment and instlalling the package:
The text was updated successfully, but these errors were encountered: