From 42f672c313cdd81276b0a0e2a917c01b189581ee Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 18 Jun 2024 01:47:36 -0700 Subject: [PATCH] Modernize and fix metadata items, including description, trove classifiers, and project_urls for PyPI --- backend_addon/{{ cookiecutter.__folder_name }}/setup.py | 5 +++-- .../{{ cookiecutter.__folder_name }}/backend/setup.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/backend_addon/{{ cookiecutter.__folder_name }}/setup.py b/backend_addon/{{ cookiecutter.__folder_name }}/setup.py index b0587bd..3677995 100644 --- a/backend_addon/{{ cookiecutter.__folder_name }}/setup.py +++ b/backend_addon/{{ cookiecutter.__folder_name }}/setup.py @@ -14,7 +14,7 @@ setup( name="{{ cookiecutter.python_package_name }}", version="{{ cookiecutter.__version_package }}", - description="{{ cookiecutter.description }}.", + description="{{ cookiecutter.description }}", long_description=long_description, long_description_content_type="text/markdown", classifiers=[ @@ -31,6 +31,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", ], @@ -39,7 +40,7 @@ author_email="{{ cookiecutter.email }}", url="https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.python_package_name }}", project_urls={ - "PyPI": "https://pypi.python.org/pypi/{{ cookiecutter.python_package_name }}", + "PyPI": "https://pypi.org/project/{{ cookiecutter.python_package_name }}", "Source": "https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.python_package_name }}", "Tracker": "https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.python_package_name }}/issues", }, diff --git a/sub/project_settings/{{ cookiecutter.__folder_name }}/backend/setup.py b/sub/project_settings/{{ cookiecutter.__folder_name }}/backend/setup.py index b1e7fb7..9f6acca 100644 --- a/sub/project_settings/{{ cookiecutter.__folder_name }}/backend/setup.py +++ b/sub/project_settings/{{ cookiecutter.__folder_name }}/backend/setup.py @@ -14,7 +14,7 @@ setup( name="{{ cookiecutter.python_package_name }}", version="{{ cookiecutter.__version_package }}", - description="{{ cookiecutter.description }}.", + description="{{ cookiecutter.description }}", long_description=long_description, long_description_content_type="text/markdown", classifiers=[ @@ -28,6 +28,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", ], @@ -36,7 +37,7 @@ author_email="{{ cookiecutter.email }}", url="https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.python_package_name }}", project_urls={ - "PyPI": "https://pypi.python.org/pypi/{{ cookiecutter.python_package_name }}", + "PyPI": "https://pypi.org/project/{{ cookiecutter.python_package_name }}", "Source": "https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.python_package_name }}", "Tracker": "https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.python_package_name }}/issues", },