dist.parse_config_files()
File "/home/dc/.local/lib/python3.8/site-packages/setuptools/dist.py", line 655, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/home/dc/.local/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 71, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/home/dc/.local/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 139, in read_configuration
validate(subset, filepath)
File "/home/dc/.local/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 60, in validate
raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: `project.license`.
configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys:
'file': {type: string}
required: 【'file'】
- keys:
'text': {type: string}
required: 【'text'】
求解
