1
0
Fork 0
forked from github/pelican

migrate configuration to PEP621 compatible one

This commit is contained in:
Lioman 2023-10-28 08:38:29 +02:00
commit a76a419585
3 changed files with 1500 additions and 55 deletions

1
.pdm-python Normal file
View file

@ -0,0 +1 @@
/Users/eliaskirchgaessner/Development/FOSS/pelican/.venv/bin/python

1431
pdm.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,17 +1,30 @@
[tool.poetry]
[project]
authors = [{ name = "Justin Mayer", email = "authors@getpelican.com" }]
license = { text = "AGPLv3" }
requires-python = ">=3.8,<4.0"
dependencies = [
"blinker>=1.4",
"docutils>=0.16",
"feedgenerator>=1.9",
"jinja2>=2.7",
"pygments>=2.6",
"python-dateutil>=2.8",
"rich>=10.1",
"unidecode>=1.1",
"backports-zoneinfo<1.0.0,>=0.2.1; python_version < \"3.9\"",
]
name = "pelican"
version = "4.8.0"
description = "Static site generator supporting Markdown and reStructuredText"
authors = ["Justin Mayer <entrop@gmail.com>"]
license = "AGPLv3"
readme = "README.rst"
keywords = ["static site generator", "static sites", "ssg"]
homepage = "https://getpelican.com"
repository = "https://github.com/getpelican/pelican"
documentation = "https://docs.getpelican.com"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Pelican",
@ -25,56 +38,12 @@ classifiers = [
"Topic :: Text Processing :: Markup :: reStructuredText",
]
[tool.poetry.urls]
"Funding" = "https://donate.getpelican.com/"
"Tracker" = "https://github.com/getpelican/pelican/issues"
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
blinker = ">=1.4"
docutils = ">=0.16"
feedgenerator = ">=1.9"
jinja2 = ">=2.7"
pygments = ">=2.6"
python-dateutil = ">=2.8"
rich = ">=10.1"
unidecode = ">=1.1"
markdown = {version = ">=3.1", optional = true}
backports-zoneinfo = {version = "^0.2.1", python = "<3.9"}
watchfiles = "^0.19.0"
[tool.poetry.dev-dependencies]
BeautifulSoup4 = "^4.9"
jinja2 = "~3.1.2"
lxml = "^4.3"
markdown = "~3.4.3"
typogrify = "^2.0"
sphinx = "^5.1"
furo = "2023.03.27"
livereload = "^2.6"
psutil = {version = "^5.7", optional = true}
pygments = "~2.15"
pytest = "^7.1"
pytest-cov = "^4.0"
pytest-sugar = "^0.9.5"
pytest-xdist = "^2.0"
ruff = "^0.1.3"
tox = {version = "^3.13", optional = true}
flake8 = "^3.8"
flake8-import-order = "^0.18.1"
invoke = "^2.0"
isort = "^5.2"
black = {version = "^19.10b0", allow-prereleases = true}
[tool.poetry.extras]
markdown = ["markdown"]
[tool.poetry.scripts]
[project.scripts]
pelican = "pelican.__main__:main"
pelican-import = "pelican.tools.pelican_import:main"
pelican-plugins = "pelican.plugins._utils:list_plugins"
pelican-quickstart = "pelican.tools.pelican_quickstart:main"
pelican-themes = "pelican.tools.pelican_themes:main"
pelican-plugins = "pelican.plugins._utils:list_plugins"
[tool.autopub]
project-name = "Pelican"
@ -86,5 +55,49 @@ version-header = "="
version-strings = ["setup.py"]
build-system = "setuptools"
[tool.pdm]
[tool.pdm.scripts]
docbuild = "invoke docbuild"
docserve = "invoke docserve"
[tool.pdm.dev-dependencies]
dev = [
"BeautifulSoup4<5.0,>=4.9",
"jinja2~=3.1.2",
"lxml<5.0,>=4.3",
"markdown~=3.4.3",
"typogrify<3.0,>=2.0",
"sphinx<6.0,>=5.1",
"furo==2023.03.27",
"livereload<3.0,>=2.6",
"psutil<6.0,>=5.7",
"pygments~=2.15",
"pytest<8.0,>=7.1",
"pytest-cov<5.0,>=4.0",
"pytest-sugar<1.0.0,>=0.9.5",
"pytest-xdist<3.0,>=2.0",
"tox<4.0,>=3.13",
"flake8<4.0,>=3.8",
"flake8-import-order<1.0.0,>=0.18.1",
"invoke<3.0,>=2.0",
"isort<6.0,>=5.2",
"black<20.0,>=19.10b0",
]
[tool.pdm.build]
includes = []
[project.urls]
Funding = "https://donate.getpelican.com/"
Tracker = "https://github.com/getpelican/pelican/issues"
Homepage = "https://getpelican.com"
Repository = "https://github.com/getpelican/pelican"
Documentation = "https://docs.getpelican.com"
[project.optional-dependencies]
markdown = ["markdown>=3.1"]
[build-system]
requires = ["setuptools >= 40.6.0", "wheel"]
requires = ["pdm-backend"]
build-backend = "pdm.backend"