Skip to content

Invalid dash-separated options for description-file #4301

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

Closed
wickeat opened this issue Dec 5, 2023 · 1 comment
Closed

Invalid dash-separated options for description-file #4301

wickeat opened this issue Dec 5, 2023 · 1 comment

Comments

@wickeat
Copy link

wickeat commented Dec 5, 2023

Describe the feature you'd like
To rename the description file in

description-file = README.rst

to description_file.

This is to avoid the setuptools warning of SetuptoolsDeprecationWarning: Invalid dash-separated options, when installing this package. An example of the error is shown below.

      C:\projects\.venv\Lib\site-packages\setuptools\dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!

              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.

              This deprecation is overdue, please update your project and remove deprecated
              calls to avoid build errors in the future.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************
@martinRenou
Copy link
Collaborator

Fixed by #4173

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