[X] I have searched the issue tracker and believe that this is not a duplicate.
Steps to reproduce
According to PEP621 TROVE classifiers can be added to the pyproject.toml below the project metadata section.
Here's an excerpt of my pyproject.toml:
[project]
...
classfiers = [
"Development Status :: 3 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
...
Then I run pdm build and pdm export -f setuppy. The classifiers are not taken into account.
Actual behavior
pdm build
Open the whl file and the open the METADATA file.
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
pdm export
'classifiers': [
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
Expected behavior
pdm build
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Development Status :: 3 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
pdm export
'classifiers': [
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Development Status :: 3 - Beta',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Typing :: Typed',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
Steps to reproduce
According to PEP621 TROVE classifiers can be added to the pyproject.toml below the
project
metadata section.Here's an excerpt of my pyproject.toml:
Then I run
pdm build
andpdm export -f setuppy
. The classifiers are not taken into account.Actual behavior
pdm build
Open the whl file and the open the METADATA file.
pdm export
Expected behavior
pdm build
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) Classifier: Development Status :: 3 - Beta Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Typing :: Typed Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9
pdm export
Environment Information