Skip to content

Commit 8f0e49e

Browse files
author
Alex Kwiatkowski
committed
add publish/pypi make target
1 parent 96ab089 commit 8f0e49e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ test:
2828

2929
coverage:
3030
pytest --cov src
31+
32+
publish/pypi:
33+
python3 -m build && \
34+
python3 -m twine upload --repository pypi dist/*

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ llm_http_api = "llm_http_api"
3838

3939
[project.optional-dependencies]
4040
test = [
41+
"build >=1.0.3",
4142
"httpx >=0.25.2",
4243
"llm-clip >=0.1",
4344
"llm-embed-jina >=0.1.2",
@@ -49,6 +50,7 @@ test = [
4950
"pytest ~=7.4.0",
5051
"pytest-cov ~=4.1.0",
5152
"ruff ~=0.1.0",
53+
"twine >=4.0.2",
5254
]
5355

5456
[tool.ruff]

0 commit comments

Comments
 (0)