Skip to content

Commit

Permalink
use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
piEsposito committed Jun 4, 2024
1 parent 162deeb commit dfaafe6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip poetry
pip install setuptools wheel twine
- name: Build
run: |
python setup.py sdist bdist_wheel
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tool.poetry]
name = "tiny-ai-client"
version = "0.0.3"
description = "Tiny AI client for LLMs. As simple as it gets."
authors = ["piEsposito <[email protected]>"]
license = "Apache 2.0"
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.10"
pydantic = "2.7.3"
openai = "1.31.0"
anthropic = "0.28.0"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
27 changes: 0 additions & 27 deletions setup.py

This file was deleted.

0 comments on commit dfaafe6

Please sign in to comment.