Add script to pyproject.toml

This commit is contained in:
Roberto Alsina 2023-05-16 10:46:06 -03:00
parent 9e3fb4b72e
commit c21ce69b42
1 changed files with 23 additions and 0 deletions

23
pyproject.toml Normal file
View File

@ -0,0 +1,23 @@
[tool.poetry]
name = "tapita"
version = "0.1.0"
description = "A tool/library to automatically create book covers"
authors = ["Roberto Alsina <roberto.alsina@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.7"
Pillow = "^9.5.0"
click = "^8.1.3"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
black = "^23.3.0"
[tool.poetry.scripts]
tapita = 'tapita.__main__:cover'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"