this removes Flask, reworks a number of library methods accordingly, and adds generators and build commands to process the instance directory (largely unchanged, except config.py is now config.json) and spit out files suitable to be served by a web server such as Nginx. there are probably some rough edges here, but overall this works. also note, as this is no longer server software on a network, the license has changed from AGPLv3 to GPLv3, and the "or any later version" allowance has been removed Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
63 lines
1.8 KiB
TOML
63 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "incorporeal-cms"
|
|
description = "A lightweight static site generator software for Markdown-based sites."
|
|
readme = "README.md"
|
|
license = {text = "GPL-3.0-only"}
|
|
authors = [
|
|
{name = "Brian S. Stephan", email = "bss@incorporeal.org"},
|
|
]
|
|
requires-python = ">=3.9"
|
|
dependencies = ["feedgen", "jinja2", "Markdown", "termcolor"]
|
|
dynamic = ["version"]
|
|
classifiers = [
|
|
"Framework :: Flask",
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: Text Processing :: Markup :: Markdown",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.incorporeal.org/bss/incorporeal-cms"
|
|
"Changelog" = "https://git.incorporeal.org/bss/incorporeal-cms/releases"
|
|
"Bug Tracker" = "https://git.incorporeal.org/bss/incorporeal-cms/issues"
|
|
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["bandit", "dlint", "flake8", "flake8-blind-except", "flake8-builtins", "flake8-docstrings",
|
|
"flake8-executable", "flake8-fixme", "flake8-isort", "flake8-logging-format", "flake8-mutable",
|
|
"flake8-pyproject", "mypy", "pip-tools", "pydot", "pytest", "pytest-cov", "reuse", "safety",
|
|
"setuptools-scm", "tox", "twine"]
|
|
dot = ["pydot"]
|
|
|
|
[project.scripts]
|
|
incorporealcms-build = "incorporealcms.ssg:build"
|
|
|
|
[tool.flake8]
|
|
enable-extensions = "G,M"
|
|
exclude = [".tox/", "venv/", "_version.py"]
|
|
extend-ignore = "T101"
|
|
max-complexity = 10
|
|
max-line-length = 120
|
|
|
|
[tool.isort]
|
|
line_length = 120
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
python_files = ["*_tests.py", "tests.py", "test_*.py"]
|
|
|
|
[tool.setuptools]
|
|
packages = [
|
|
"incorporealcms",
|
|
]
|
|
|
|
[tool.setuptools_scm]
|
|
write_to = "incorporealcms/_version.py"
|