Skip to content

Commit

Permalink
add publish/pypi make target
Browse files Browse the repository at this point in the history
  • Loading branch information
rupurt committed Dec 17, 2023
1 parent 96ab089 commit 8f0e49e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ test:

coverage:
pytest --cov src

publish/pypi:
python3 -m build && \
python3 -m twine upload --repository pypi dist/*
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ llm_http_api = "llm_http_api"

[project.optional-dependencies]
test = [
"build >=1.0.3",
"httpx >=0.25.2",
"llm-clip >=0.1",
"llm-embed-jina >=0.1.2",
Expand All @@ -49,6 +50,7 @@ test = [
"pytest ~=7.4.0",
"pytest-cov ~=4.1.0",
"ruff ~=0.1.0",
"twine >=4.0.2",
]

[tool.ruff]
Expand Down

0 comments on commit 8f0e49e

Please sign in to comment.