Skip to content

Commit

Permalink
Updates from package template (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Dec 9, 2024
1 parent 815118c commit 500ebdf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/sunpy/package-template",
"commit": "3737aa309d2a695ada046c7868c5683213003f3d",
"commit": "5446d70263fff597b33ca7b0833aaeb5f3c3ac59",
"checkout": null,
"context": {
"cookiecutter": {
Expand All @@ -10,12 +10,12 @@
"author_name": "The SunPy Community",
"author_email": "[email protected]",
"project_url": "https://sunpy.org",
"github_repo": "",
"sourcecode_url": "",
"github_repo": "sunpy/sunkit-image",
"sourcecode_url": "https://github.com/sunpy/sunkit-image",
"download_url": "https://pypi.org/project/sunkit-image",
"documentation_url": "",
"changelog_url": "",
"issue_tracker_url": "",
"documentation_url": "https://docs.sunpy.org/projects/sunkit-image",
"changelog_url": "https://docs.sunpy.org/projects/sunkit-image/en/stable/whatsnew/changelog.html",
"issue_tracker_url": "https://github.com/sunpy/sunkit-image/issues",
"license": "BSD 2-Clause",
"minimum_python_version": "3.10",
"use_compiled_extensions": "n",
Expand Down
24 changes: 13 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,16 @@ docs = [
dev = ["sunkit_image[all,tests,docs]"]

[project.urls]
changelog = "https://docs.sunpy.org/projects/sunkit-image/en/latest/changelog.html"
documentation = "https://docs.sunpy.org/projects/sunkit-image/"
homepage = "https://sunpy.org/"
issue_tracker = "https://github.com/sunpy/sunkit-image/issues"
repository = "https://github.com/sunpy/sunkit-image/"
Homepage = "https://sunpy.org"
"Source Code" = "https://github.com/sunpy/sunkit-image"
Download = "https://pypi.org/project/sunkit-image"
Documentation = "https://docs.sunpy.org/projects/sunkit-image"
Changelog = "https://docs.sunpy.org/projects/sunkit-image/en/stable/whatsnew/changelog.html"
"Issue Tracker" = "https://github.com/sunpy/sunkit-image/issues"

[tool.setuptools]
zip-safe = false
include-package-data = true
platforms = ["any"]
provides = ["sunkit_image"]
license-files = ["LICENSE.rst"]

[tool.setuptools.packages.find]
include = ["sunkit_image*"]
Expand All @@ -97,8 +96,11 @@ write_to = "sunkit_image/_version.py"
verify_pr_number = true
changelog_skip_label = "No Changelog Entry Needed"
help_url = "https://github.com/sunpy/sunkit-image/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-image/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-image/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
Expand All @@ -107,7 +109,7 @@ write_to = "sunkit_image/_version.py"
package = "sunkit_image"
filename = "CHANGELOG.rst"
directory = "changelog/"
issue_format = "`#{issue} <https://github.com/sunpy/sunkit-image/pull/{issue}>`__"
issue_format = "`#{issue} <https://github.com/sunpy/sunkit-image/pull/{issue}>`__"
title_format = "{version} ({project_date})"

[[tool.towncrier.type]]
Expand Down

0 comments on commit 500ebdf

Please sign in to comment.