We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given setup.py:
setup.py
from setuptools import setup setup(package_data={"": ["LICENSE", "NOTICE"]})
Run:
$ setup-py-upgrade . ./setup.py and ./setup.cfg written!
Produces setup.cfg:
setup.cfg
[options.package_data] = LICENSE NOTICE
Expected:
[options.package_data] * = LICENSE NOTICE
This is similar to #4 (fixed by PR #5), and the simple case still works; this setup.py:
from setuptools import setup setup(package_data={"": ["LICENSE"]})
Correctly produces this setup.cfg:
[options.package_data] * = LICENSE
The text was updated successfully, but these errors were encountered:
actually on second thought, I think package_data={'': ...} should be rejected outright
package_data={'': ...}
it doesn't appear to work, and even if it did it would pollute the top level with data files
Sorry, something went wrong.
Ah yes, I'm using setuptools_scm anyway so looks like I don't need package_data at all.
setuptools_scm
package_data
but it does look like the if statement should be moved -- cc @mxr
No branches or pull requests
Given
setup.py
:Run:
Produces
setup.cfg
:Expected:
This is similar to #4 (fixed by PR #5), and the simple case still works; this
setup.py
:Correctly produces this
setup.cfg
:The text was updated successfully, but these errors were encountered: