Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging #132

Merged
merged 2 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.7.0 (2023-08-15)

- Fix misleading usage of `__main__.py` without runnable code to be ran on `python -m lunr`
- Move to pyproject.toml packaging
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ tests-benchmark:

package:
rm -fr dist/*
python setup.py sdist
python setup.py bdist_wheel --universal
python -m build

release-test: package
@echo "Are you sure you want to release to test.pypi.org? [y/N]" && \
Expand Down
2 changes: 1 addition & 1 deletion lunr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

__all__ = ("lunr", "get_default_builder")

__VERSION__ = "0.6.2"
__VERSION__ = "0.7.0"
__TARGET_JS_VERSION__ = "2.3.9"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ docs = [
"sphinx-autobuild",
]
local = [
"build",
"twine",
"pytest-benchmark",
"wheel",
Expand All @@ -69,5 +70,4 @@ local = [
dev = ["lunr[tests,docs,local]"]

[tool.hatch.version]
source = "vcs"
raw-options = { local_scheme = "no-local-version" }
path = "lunr/__init__.py"