Migrate to poetry, update nixpkgs

This commit is contained in:
Andrey Golovizin 2021-07-08 21:22:52 +02:00
parent c0020fe276
commit 58d3aef568
14 changed files with 1384 additions and 1517 deletions

46
pyproject.toml Normal file
View file

@ -0,0 +1,46 @@
[tool.poetry]
name = "strojnadzor"
version = "0.1.0"
description = "Strojnadzor site"
authors = ["Andrey Golovizin <ag@sologoc.com>"]
license = "AGPLv3"
[tool.poetry.dependencies]
python = "^3.8"
aldryn-forms = "~4.0.1"
Django = "~2.1"
django-classy-tags = "~=0.9"
django-cms = "3.7.1"
django-filer = "~1.7"
django-mptt = "~0.11"
django-sekizai = "~1.1"
django-treebeard = "~4.3"
djangocms-admin-style = "~1.4"
djangocms-bootstrap4 = "~1.5"
djangocms-file = "~2.4"
djangocms-googlemap = "~1.3"
djangocms-link = "~2.5"
djangocms-picture = "~2.3"
djangocms-snippet = "~2.2"
djangocms-style = "~2.2"
djangocms-text-ckeditor = "~3.8"
djangocms-video = "~2.2"
easy-thumbnails = "~2.7.1"
gunicorn = "^20.1.0"
python-dotenv = "^0.18.0"
[tool.poetry.dev-dependencies]
black = "^21.6b0"
flake8 = "^3.9.2"
isort = "^5.9.2"
pyls-isort = "^0.2.2"
python-lsp-black = "^1.0.0"
python-lsp-server = "^1.1.0"
[tool.poetry.scripts]
strojnadzor = "strojnadzor.__main__:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"