Skip to content

Commit

Permalink
chore: create package with shiv
Browse files Browse the repository at this point in the history
  • Loading branch information
0hsn committed Jan 11, 2025
1 parent 1e747c5 commit 8cce65b
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 11 deletions.
72 changes: 61 additions & 11 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ icecream = "^2.1.3"
requests-mock = "^1.12.1"
pytest-cov = "^6.0.0"
ruff = "^0.8.4"
shiv = "^1.0.8"

[tool.poetry.scripts]
chk = "chk.console.main:chk"
Expand All @@ -70,6 +71,8 @@ build-backend = "poetry.core.masonry.api"
test = "py.test -s"
clear-cache = "rm -rf .chkware_cache"

build-shiv = "poetry run shiv --console-script chk --output-file dist/chk.pyz ."

_requirements_root_ = "poetry export --output requirements.txt"
_requirements_test_ = "poetry export --output requirements-dev.txt --with test"
requirements = ["_requirements_root_", "_requirements_test_"]
Expand Down

0 comments on commit 8cce65b

Please sign in to comment.