Skip to content

Commit

Permalink
Update changelog and project metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
SamEdwardes committed Oct 4, 2024
1 parent d1bc2e4 commit 1abb18f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 13 deletions.
13 changes: 2 additions & 11 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,15 @@

**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.

**Fixes**

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**
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
17 changes: 16 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"}
]
keywords = ["python", "spacy", "nlp", "pdf", "pdfs"]
requires-python = ">=3.9"
dependencies = [
Expand All @@ -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",
Expand Down

0 comments on commit 1abb18f

Please sign in to comment.