Closed
Description
Currently, we use data_files
to distribute typeshed and xml files. The prefix under which data_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 into site-packages/mypy/typeshed
and site-packages/mypy/xml
. This will be much easier to find, and should avoid all of the intricacies in resolving the system prefix.