Skip to content

Conversation

@mgorny
Copy link
Contributor

@mgorny mgorny commented Oct 23, 2022

Update keys used in setup.cfg in order to fix the following setuptools deprecation warnings:

The license_file parameter is deprecated, use license_files instead.

Usage of dash-separated 'provides-extra' will not be supported
in future versions. Please use the underscore name 'provides_extra'
instead

Usage of dash-separated 'requires-dist' will not be supported
in future versions. Please use the underscore name 'requires_dist'
instead

Update keys used in `setup.cfg` in order to fix the following setuptools
deprecation warnings:

> The license_file parameter is deprecated, use license_files instead.

> Usage of dash-separated 'provides-extra' will not be supported
> in future versions. Please use the underscore name 'provides_extra'
> instead

> Usage of dash-separated 'requires-dist' will not be supported
> in future versions. Please use the underscore name 'requires_dist'
> instead
@JeremyDega
Copy link

Thanks for the efforts, but I have updated as you instructed but still getting this error:

C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'provides-extra' will not be supported in future versions. Please use the underscore name 'provides_extra' instead
warnings.warn(
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'requires-dist' will not be supported in future versions. Please use the underscore name 'requires_dist' instead
warnings.warn(
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\site-packages\setuptools\config\setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

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

Successfully merging this pull request may close these issues.

2 participants