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 # Created by https://www.gitignore.io/api/django
### Django ### ### Django ###
@ -15,9 +14,10 @@ media
# <django-project-name>/staticfiles/ # <django-project-name>/staticfiles/
# End of https://www.gitignore.io/api/django # End of https://www.gitignore.io/api/django
/.pdm-python
/.env /.env
/.mypy_cache /.mypy_cache
/.pytest_cache /.pytest_cache
/*.egg-info/
/static /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" name = "lemoncurry"
version = "1.12.4" version = "1.12.4"
description = "Indieweb-compatible personal website" description = "Indieweb-compatible personal website"
authors = ["Danielle McLean <dani@00dani.me>"]
license = "MIT"
[tool.poetry.dependencies] authors = [
python = "^3.9" {name = "Danielle McLean", email = "dani@00dani.me"},
accept-types = "*" ]
ago = "*" license = {text = "MIT"}
argon2-cffi = "*" requires-python = "<4.0,>=3.12"
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 = "*"
[tool.poetry.dev-dependencies] dependencies = [
mypy = "*" "accept-types",
ptpython = "*" "ago",
pytest-django = "*" "argon2-cffi",
types-bleach = "*" "bleach",
types-markdown = "*" "cachecontrol",
types-python-slugify = "*" "django<4,>=3",
types-pyyaml = "*" "django-activeurl",
types-requests = "*" "django-analytical",
watchdog = "*" "django-annoying",
werkzeug = "*" "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] [build-system]
requires = ["poetry>=0.12"] requires = ["pdm-backend"]
build-backend = "poetry.masonry.api" build-backend = "pdm.backend"