File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ build-and-publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.11'
18+
19+ - name : Install build tools
20+ run : |
21+ pip install build twine
22+
23+ - name : Build package
24+ run : python -m build
25+
26+ - name : Upload to PyPI
27+ env :
28+ TWINE_USERNAME : __token__
29+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
30+ run : twine upload dist/*
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " genstack"
3+ version = " 0.1.0"
4+ description = " Universal AI SDK from Genstack"
5+ authors = [{name =" Shrey Kumar" , email =" shreyk.dev@gmail.com" }]
6+ readme = " README.md"
7+ license = {text = " MIT" }
8+ dependencies = [" httpx" ]
9+
10+ [build-system ]
11+
12+ requires = [" hatchling" ]
13+ build-backend = " hatchling.build"
14+
You can’t perform that action at this time.
0 commit comments