You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build the package locally, the file is included; however, the layout I get in the locally built wheel is slightly different than the published version, so there is definitely some configuration or setuptools/wheel version difference.
The text was updated successfully, but these errors were encountered:
I'm not all that familiar with using setuptools, so I'm not sure if the difference there matters (even though those normalize to the same name)
The setuptools docs include this section on how the different package data configuration options interact
To include some data file into the .whl:
(not exclude-package-data) and ((include-package-data and MANIFEST.in) or package-data)
In other words, the file should not be excluded by exclude-package-data (highest priority), AND should be either:
selected by package-data; or
selected by MANIFEST.in AND use include-package-data = true.
The current setup is trying to add any .crt files as well as the LICENSE, NOTICE, and py.typed files using the package_data option, but I don't see anything except the .crt files included in the published wheel
The MANIFEST.in is
include redshift_connector/files/*
recursive-include files *.crt
Since include_package_data is set to True, it seems that the package_data configuration is not being included (i.e. rule 1 is never true) and the only extra files being added are those from rule 2.
Related to #223
The changes from #224 should have resulted in the py.typed marker file being included in the published wheel (following the instructions in the setuptools docs and the example package included in PEP561
When I build the package locally, the file is included; however, the layout I get in the locally built wheel is slightly different than the published version, so there is definitely some configuration or setuptools/wheel version difference.
The text was updated successfully, but these errors were encountered: