From 8502a6a494dcf760fb4599cee95692c64e1e267b Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Mon, 9 Dec 2024 13:32:46 +0000 Subject: [PATCH 1/2] prep --- pyproject.toml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0ac6d81..12baf2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,23 +61,14 @@ docs = [ dev = ["sunkit_pyvista[tests,docs]"] [project.urls] -changelog = "https://docs.sunpy.org/projects/sunkit-magex/en/stable/changelog" -documentation = "https://docs.sunpy.org/projects/sunkit-magex/en/stable/" -homepage = "https://sunpy.org/" -issue_tracker = "https://github.com/sunpy/sunkit-pyvista/issues" -repository = "https://github.com/sunpy/sunkit-pyvista" [tool.setuptools] zip-safe = false include-package-data = true -platforms = ["any"] -provides = ["sunkit_pyvista"] -license-files = ["LICENSE.rst"] [tool.setuptools.packages.find] include = ["sunkit_pyvista*"] exclude = ["sunkit_pyvista._dev*"] -namespaces = false [tool.setuptools_scm] write_to = "sunkit_pyvista/_version.py" From 019a5c32a5a16ba87ec574c5f413f14917f969b3 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Mon, 9 Dec 2024 13:34:57 +0000 Subject: [PATCH 2/2] URLs --- .cruft.json | 14 +++++++------- pyproject.toml | 13 +++++++++++-- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.cruft.json b/.cruft.json index 1c51d22..d0e0506 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/sunpy/package-template", - "commit": "3737aa309d2a695ada046c7868c5683213003f3d", + "commit": "5446d70263fff597b33ca7b0833aaeb5f3c3ac59", "checkout": null, "context": { "cookiecutter": { @@ -9,13 +9,13 @@ "short_description": "3D visualisation of solar physics data with pyvista", "author_name": "The SunPy Community", "author_email": "sunpy@googlegroups.com", - "project_url": "https://github.com/sunpy/sunkit-pyvista", - "github_repo": "", - "sourcecode_url": "", + "project_url": "https://sunpy.org", + "github_repo": "sunpy/sunkit-pyvista", + "sourcecode_url": "https://github.com/sunpy/sunkit-pyvista", "download_url": "https://pypi.org/project/sunkit-pyvista", - "documentation_url": "", - "changelog_url": "", - "issue_tracker_url": "", + "documentation_url": "https://docs.sunpy.org/projects/sunkit-pyvista", + "changelog_url": "https://docs.sunpy.org/projects/sunkit-pyvista/en/stable/whatsnew/changelog.html", + "issue_tracker_url": "https://github.com/sunpy/sunkit-pyvista/issues", "license": "BSD 3-Clause", "minimum_python_version": "3.10", "use_compiled_extensions": "n", diff --git a/pyproject.toml b/pyproject.toml index 12baf2f..f2043d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,6 +61,12 @@ docs = [ dev = ["sunkit_pyvista[tests,docs]"] [project.urls] +Homepage = "https://sunpy.org" +"Source Code" = "https://github.com/sunpy/sunkit-pyvista" +Download = "https://pypi.org/project/sunkit-pyvista" +Documentation = "https://docs.sunpy.org/projects/sunkit-pyvista" +Changelog = "https://docs.sunpy.org/projects/sunkit-pyvista/en/stable/whatsnew/changelog.html" +"Issue Tracker" = "https://github.com/sunpy/sunkit-pyvista/issues" [tool.setuptools] zip-safe = false @@ -82,8 +88,11 @@ write_to = "sunkit_pyvista/_version.py" verify_pr_number = true changelog_skip_label = "No Changelog Entry Needed" help_url = "https://github.com/sunpy/sunkit-pyvista/blob/main/changelog/README.rst" - changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com//blob/main/changelog/README.rst)." - type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com//blob/main/changelog/README.rst)" + + changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunkit-pyvista/blob/main/changelog/README.rst)." + + type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/sunkit-pyvista/blob/main/changelog/README.rst)" + number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file." # TODO: This should be in towncrier.toml but Giles currently only works looks in