feat: add project structure and dependency management
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Build and Publish nightly package / build-and-publish (push) Successful in 26s
Auto Changelog & Release / changelog-only (push) Successful in 1m14s
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Build and Publish nightly package / build-and-publish (push) Successful in 26s
Auto Changelog & Release / changelog-only (push) Successful in 1m14s
- Initialize project with Poetry for dependency management - Add pyproject.toml and poetry.lock for package configuration - Refactor existing code into a modular structure under `src/ait` - Define `ait` as a script entry point for execution
This commit is contained in:
21
pyproject.toml
Normal file
21
pyproject.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
[tool.poetry]
|
||||
name = "ait"
|
||||
version = "0.1.0"
|
||||
description = "This script uses the OpenAI API to generate text based on the outputs of git diff and git log commands. It can be particularly useful for creating pull request descriptions, commit messages, or any other narrative that requires summarizing changes between different branches or commits in a Git repository."
|
||||
authors = ["Max P. <Mail@0xMax42.io>"]
|
||||
readme = "README.md"
|
||||
packages = [{ include = "ait", from = "src" }]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.12"
|
||||
openai = "^1.82.0"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
ait = "ait.__main__:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=2.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
twine = "^6.1.0"
|
Reference in New Issue
Block a user