Skip to content

Commit eedbe3a

Browse files
author
Vish Devarajan
committed
Fixed PyPi
1 parent 7b3cd8c commit eedbe3a

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PYTHON ?= python3
2+
3+
.PHONY: test build publish
4+
5+
test:
6+
$(PYTHON) -m unittest discover -s tests
7+
8+
build:
9+
$(PYTHON) -m build
10+
11+
publish:
12+
$(PYTHON) -m twine upload dist/*

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ Produces signed events you can summarize into operations dashboards or audit pip
133133
- [`examples/python-fastapi/dashboard_model.py`](/Users/vishnu/Documents/blackwall-llm-shield/blackwall-llm-shield-python/examples/python-fastapi/dashboard_model.py)
134134
- [`examples/python-fastapi/streamlit_app.py`](/Users/vishnu/Documents/blackwall-llm-shield/blackwall-llm-shield-python/examples/python-fastapi/streamlit_app.py)
135135

136+
## Release Commands
137+
138+
- `make test` runs the Python test suite
139+
- `make build` builds the distribution into `dist/`
140+
- `make publish` uploads the package to PyPI with `twine`
141+
136142
## New Modules
137143

138144
- [`src/blackwall_llm_shield/integrations.py`](/Users/vishnu/Documents/blackwall-llm-shield/blackwall-llm-shield-python/src/blackwall_llm_shield/integrations.py)

0 commit comments

Comments
 (0)