Skip to content

Commit

Permalink
Modernize and fix metadata items, including description, trove classi…
Browse files Browse the repository at this point in the history
…fiers, and project_urls for PyPI (#41)
  • Loading branch information
stevepiercy authored Jun 18, 2024
1 parent c645217 commit 3510b75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions backend_addon/{{ cookiecutter.__folder_name }}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand All @@ -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)",
],
Expand All @@ -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",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand All @@ -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)",
],
Expand All @@ -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",
},
Expand Down

0 comments on commit 3510b75

Please sign in to comment.