-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Move to using package_data to install typeshed and xml files. #4143
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
Well, annoyingly, it appears this won't be possible, unless we require However, |
Wasn't that issue fixed in pypa/pip#1311? |
It was fixed, but it seems that the fix requires administrator access on Windows see pypa/pip#1311 (comment) I tested it myself and it fails without privileges. |
I think that we should get rid of typeshed symlinks. |
Closing in favor of #5307 |
Currently, we use
data_files
to distribute typeshed and xml files. The prefix under whichdata_files
is installed is not exposed publicly, which has lead to complexities and issues with resolving typeshed's install location such as #4142.Therefore, I propose we move to
package_data
. This will install typeshed and the xml files intosite-packages/mypy/typeshed
andsite-packages/mypy/xml
. This will be much easier to find, and should avoid all of the intricacies in resolving the system prefix.The text was updated successfully, but these errors were encountered: