worblehat/pyproject.toml

48 lines
1.1 KiB
TOML
Raw Normal View History

[tool.poetry]
name = "worblehat"
version = "0.1.0"
description = "Worblehat is a simple library management system written specifically for Programvareverkstedet"
authors = []
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
2023-05-04 16:40:30 +02:00
alembic = "^1.9.4"
click = "^8.1.3"
2023-05-04 16:40:30 +02:00
flask = "^2.2.2"
flask-admin = "^1.6.1"
flask-sqlalchemy = "^3.0.3"
isbnlib = "^3.10.14"
python = "^3.11"
2023-05-04 16:40:30 +02:00
sqlalchemy = "^2.0.8"
psycopg2-binary = "^2.9.6"
requests = "^2.31.0"
2023-09-01 15:32:17 +02:00
bs4 = "^0.0.1"
[tool.poetry.group.dev.dependencies]
werkzeug = "^2.3.3"
poethepoet = "^0.20.0"
[tool.poetry.scripts]
worblehat = "worblehat.main:main"
[tool.poe.tasks]
clean = """
rm -rf
./**/__pycache__
./**/worblehat.sqlite
"""
# Migration related
genmigration = "alembic revision --autogenerate -m"
migrate = "alembic upgrade head"
downmigrate = "alembic downgrade -1"
# Be careful with cleanmigrations. If you run migrate a database and then
# delete the migration file with this, there will be no easy way of downgrading
cleanmigrations = "git clean -f worblehat/models/migrations/versions"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"