Swap from Poetry to PDM

This commit is contained in:
Danielle McLean 2024-03-13 18:10:51 +11:00
parent c49e17db90
commit 9d11cc7576
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
4 changed files with 1240 additions and 2438 deletions

6
.gitignore vendored
View file

@ -1,4 +1,3 @@
# Created by https://www.gitignore.io/api/django
### Django ###
@ -15,9 +14,10 @@ media
# <django-project-name>/staticfiles/
# End of https://www.gitignore.io/api/django
/.pdm-python
/.env
/.mypy_cache
/.pytest_cache
/*.egg-info/
/static
node_modules
/node_modules

1167
pdm.lock Normal file

File diff suppressed because it is too large Load diff

2375
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,67 +1,77 @@
[tool.poetry]
[project]
name = "lemoncurry"
version = "1.12.4"
description = "Indieweb-compatible personal website"
authors = ["Danielle McLean <dani@00dani.me>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
accept-types = "*"
ago = "*"
argon2-cffi = "*"
bleach = "*"
cachecontrol = "*"
django = "<4,>=3"
django-activeurl = "*"
django-analytical = "*"
django-annoying = "*"
django-compressor = "*"
django-computed-property = "*"
django-cors-headers = "*"
django-debug-toolbar = "*"
django-extensions = "*"
django-meta = "*"
django-model-utils = "*"
django-otp = "*"
django-otp-agents = "*"
django-push = "*"
django-randomslugfield = "*"
django-redis = "*"
django-rq = "*"
docutils = "*"
gevent = "*"
gunicorn = {extras = ["gevent"], version = "*"}
hiredis = "*"
jinja2 = "*"
markdown = "*"
mf2py = "*"
mf2util = "*"
msgpack = "*"
pillow = "*"
psycopg2-binary = "*"
python-baseconv = "*"
python-magic = "*"
python-slugify = "*"
pyup-django = "*"
pyyaml = "*"
qrcode = "*"
ronkyuu = "*"
xrd = "*"
greenlet = "*"
authors = [
{name = "Danielle McLean", email = "dani@00dani.me"},
]
license = {text = "MIT"}
requires-python = "<4.0,>=3.12"
[tool.poetry.dev-dependencies]
mypy = "*"
ptpython = "*"
pytest-django = "*"
types-bleach = "*"
types-markdown = "*"
types-python-slugify = "*"
types-pyyaml = "*"
types-requests = "*"
watchdog = "*"
werkzeug = "*"
dependencies = [
"accept-types",
"ago",
"argon2-cffi",
"bleach",
"cachecontrol",
"django<4,>=3",
"django-activeurl",
"django-analytical",
"django-annoying",
"django-compressor",
"django-computed-property",
"django-cors-headers",
"django-debug-toolbar",
"django-extensions",
"django-meta",
"django-model-utils",
"django-otp",
"django-otp-agents",
"django-push",
"django-randomslugfield",
"django-redis",
"django-rq",
"docutils",
"gevent",
"gunicorn[gevent]",
"hiredis",
"jinja2",
"markdown",
"mf2py",
"mf2util",
"msgpack",
"pillow",
"psycopg2-binary",
"python-baseconv",
"python-magic",
"python-slugify",
"pyup-django",
"pyyaml",
"qrcode",
"ronkyuu",
"xrd",
"greenlet",
]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"mypy",
"ptpython",
"pytest-django",
"types-bleach",
"types-markdown",
"types-python-slugify",
"types-pyyaml",
"types-requests",
"watchdog",
"werkzeug",
]
[tool.pdm.build]
includes = []
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["pdm-backend"]
build-backend = "pdm.backend"