What am I missing with Classifiers? #184
Answered
by
facelessuser
facelessuser
asked this question in
Q&A
-
So, I based this project off the work you did on https://pypi.org/project/coloraide/ None of the classifiers are showing up. I've configured them as dynamic: dynamic = [
"classifiers",
"dependencies",
"version",
] And I'm dynamically configuring them: class CustomMetadataHook(MetadataHookInterface):
"""Our metadata hook."""
def update(self, metadata):
"""See https://ofek.dev/hatch/latest/plugins/metadata-hook/ for more information."""
metadata["dependencies"] = get_requirements(self.root)
metadata["classifiers"] = [
f"Development Status :: {get_version_dev_status(self.root)}",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Markup :: HTML",
] And yet, they aren't showing up on PyPI. I must be missing a step, what would that step be? |
Beta Was this translation helpful? Give feedback.
Answered by
facelessuser
Apr 5, 2022
Replies: 1 comment
-
Never mind, it was the same thing I was burned on in pymdown-extensions. I was missing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
facelessuser
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind, it was the same thing I was burned on in pymdown-extensions. I was missing
[tool.hatch.metadata.hooks.custom]
.