Skip to content

Invalid dash-separated key 'license-file' in 'metadata' (setup.cfg) Error #10

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

Open
polatbilek opened this issue Mar 24, 2025 · 3 comments

Comments

@polatbilek
Copy link

Setuptools create an error of setuptools.errors.InvalidConfigError: Invalid dash-separated key 'license-file' in 'metadata' (setup.cfg), please use the underscore name 'license_file' instead. with current setup.cfg file. You need to switch some kebab cases into snake. To make our project be able to install requirements I forked the project and fixed it (Couldn't find an instruction to how to create a branch and PR for fixes in this project's README, so I forked and fixed) https://github.com/polatbilek/email-normalize

Anyone can create a wheel with command of python setup.py bdist_wheel --universal to create his own wheel package and you can install that package via pip to make email_normalize work again until this problem is fixed.

@arashout
Copy link

Did setuptools roll out an update that broke this?

@arashout
Copy link

I think so pypa/setuptools#4911 (comment)

@polatbilek
Copy link
Author

I think so pypa/setuptools#4911 (comment)

They postponed this to 2026. Author should fix the config file or we gonna experience same thing in 2026 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants