Skip to content

Commit

Permalink
Fix CLI entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Jul 19, 2022
1 parent d6e4742 commit 59a269c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.8.1

- **FIX**: Fix missing command line application after migration to new build system.

## 2.8.0

- **NEW**: Officially drop support for Python 3.6 and add support for Python 3.10.
Expand Down
6 changes: 5 additions & 1 deletion hatch_build.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Dynamically define some metadata."""
import os

import sys
from hatchling.metadata.plugin.interface import MetadataHookInterface


Expand Down Expand Up @@ -48,3 +48,7 @@ def update(self, metadata):
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
metadata['scripts'] = {
'pyspelling': 'pyspelling.__main__:main',
f'pyspelling{".".join([str(x)for x in sys.version_info[:2]])}': 'pyspelling.__main__:main'
}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dynamic = [
"classifiers",
"dependencies",
"version",
"scripts"
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion pyspelling/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@ def parse_version(ver):
return Version(major, minor, micro, release, pre, post, dev)


__version_info__ = Version(2, 8, 0, "final")
__version_info__ = Version(2, 8, 1, "final")
__version__ = __version_info__._get_canonical()

0 comments on commit 59a269c

Please sign in to comment.