mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-03-02 04:59:06 +01:00
docs: add comments to classifiers stuff
This commit is contained in:
parent
6ee5cde4bb
commit
675c990486
@ -38,6 +38,8 @@ echo -e "${BGREEN}HEAD${RESET}:"
|
||||
git_show HEAD
|
||||
echo
|
||||
|
||||
# If the classifiers are invalid, publishing to PyPI will fail but the build will succeed.
|
||||
# It's a fast check, do it early.
|
||||
echo "Checking pyproject classifiers..."
|
||||
python3 ./check_classifiers.py ../pyproject.toml
|
||||
echo
|
||||
|
||||
@ -3,6 +3,9 @@ import sys
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
# This script checks the classifiers in a pyproject.toml file against the official Trove classifier list.
|
||||
# If the classifiers are invalid, PyPI will reject the package upload.
|
||||
|
||||
# Step 1: Get pyproject.toml path from args
|
||||
if len(sys.argv) != 2:
|
||||
print(f"Usage: {sys.argv[0]} path/to/pyproject.toml", file=sys.stderr)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user