diff --git a/docs/changelog.md b/docs/changelog.md index 7c95bfd..aec1567 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,7 +4,8 @@ **Changes** -- Update supported Python versions from 3.8 to 3.12. Added local testing to test matrix of supported Python versions. +- Support for Python 3.8 to 3.12 and all future 3.0 versions of Python ([#16](https://github.com/SamEdwardes/spacypdfreader/issues/16), [#21](https://github.com/SamEdwardes/spacypdfreader/issues/21)) +- Added local testing to test matrix of supported Python versions. - Switch from poetry to uv for managing project dependencies and building project. - Update dependencies. @@ -12,16 +13,6 @@ None -## 0.3.2 (2023-10-17) - -**Changes** - -- Support for Python 3.12 and all future 3.0 versions of Python ([#16](https://github.com/SamEdwardes/spacypdfreader/issues/16), [#21](https://github.com/SamEdwardes/spacypdfreader/issues/21)) - -**Fixes** - -None - ## 0.3.1 (2023-10-17) **Changes** diff --git a/docs/contributing.md b/docs/contributing.md index 3ed1725..4681054 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -12,7 +12,7 @@ Before merging changes into main the following must be completed: just test-matrix just test-docs ``` - +- Test publishing to test PyPI: `just publish-test` - [ ] Check the docs locally: `just preview-docs` After merging the pull request: diff --git a/justfile b/justfile index df93643..bca3689 100644 --- a/justfile +++ b/justfile @@ -1,9 +1,24 @@ default: @just --list +[group('package')] +build: + rm -rf dist + uv build + +[group('package')] +publish-test: + rm -rf dist + uv build + uv publish --token $(op read "op://Private/Test PyPI/Token") --publish-url https://test.pypi.org/legacy/ + open https://test.pypi.org/project/spacypdfreader/ + [group('package')] publish: - uv publish --build + rm -rf dist + uv build + uv publish --token $(op read "op://Private/PyPI/Token") + open https://pypi.org/project/spacypdfreader/ [group('lint')] format: diff --git a/pyproject.toml b/pyproject.toml index f8649dc..272aeec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,9 @@ version = "0.3.2" description = "A PDF to text extraction pipeline component for spaCy." license = "MIT" readme = "README.md" +maintainers = [ + {name = "Sam Edwardes", email = "edwardes.s@gmail.com"} +] keywords = ["python", "spacy", "nlp", "pdf", "pdfs"] requires-python = ">=3.9" dependencies = [ @@ -12,6 +15,13 @@ dependencies = [ "spacy>=3.8.2", ] +[project.urls] +Homepage = "https://samedwardes.github.io/spacypdfreader" +Documentation = "https://samedwardes.github.io/spacypdfreader" +Repository = "https://github.com/SamEdwardes/spaCyPDFreader.git" +Issues = "https://github.com/SamEdwardes/spaCyPDFreader/issues" +Changelog = "https://github.com/SamEdwardes/spacypdfreader/blob/main/docs/changelog.md" + [project.optional-dependencies] pytesseract = [ "pdf2image>=1.17.0",