jupyter-packaging
jupyter-packaging copied to clipboard
package_data_spec not supported anymore?
Being able to pass a package_data_spec
to create_cmdclass
was quite handy to be able to include package_data as part of the wheel, but it seems to me that it's not supported anymore, or maybe I am missing something?
cf https://github.com/jupyter/jupyter-packaging/pull/69#issue-591751095
I am not sure I understand everything there, how should one include package_data in the wheel now? I can see we can still use the MANIFEST and include_package_data=True
to include data in the source dist.
The standard way: https://setuptools.readthedocs.io/en/latest/userguide/datafiles.html
We provide a
get_data_files
function but recommend people use setup.cfg for non-glob-pattern data files.
Under the main use of globbing a bunch of folders, I assume get_data_files
should do it, but what is the recommended way to ensure that this is only called after the build commands have run ?