-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Warn that data_files is deprecated in the packaging guide #1089
Comments
Hi @cdfarrow, the status of There are several people that reach for using But there is one particular use case that is genuine:
The only example that I know of is Jupyter. For this reason, I don't think
|
#1 sounds like a good path forward; but at least updating the docs to explain what you've said and making them consistent would be really helpful. |
I will work on the setuptools docs to explain 2. for the time being. |
Hi @abravalheri, do you think it's possible to update the docs to include the instructions for [tool.setuptools.data-files]
"some/location/on/users/machine" = ["location/in/package/directory"] I have a couple packages that extend jupyter that require this. So, in my particular case, the section would become: [tool.setuptools.data-files]
"etc/jupyter/nbconfig/notebook.d" = ["jupyter-config/nbconfig/notebook.d/dataframe_image.json"] Jupyter documentation also contains a section with how to accomplish this in |
According to the keywords article
data_files
has been deprecated. This should be made clear in this section.The text was updated successfully, but these errors were encountered: