From 95a5dd424f43c93fb0f49cca127061d0e84e0b1c Mon Sep 17 00:00:00 2001 From: Jaap Joris Vens Date: Mon, 9 Dec 2024 23:34:52 +0100 Subject: [PATCH] Switch to `pyproject.toml` configuration --- cms/__init__.py | 1 - pyproject.toml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/cms/__init__.py b/cms/__init__.py index 5569b33..d3403f8 100644 --- a/cms/__init__.py +++ b/cms/__init__.py @@ -1,2 +1 @@ -__version__ = "1.1.1" default_app_config = "cms.apps.CmsConfig" diff --git a/pyproject.toml b/pyproject.toml index fed528d..9d66fc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,31 @@ [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" + +[project] +name = "django-simplecms" +description = "Simple Django CMS" +version = "1.1.2" +authors = [{name = "Jaap Joris Vens", email = "cms@jj.rtts.eu"}] +readme = "README.md" +requires-python = ">= 3.12" +urls.source = "https://github.com/rtts/django-simplecms/" +urls.issues = "https://github.com/rtts/django-simplecms/issues/" +urls.changelog = "https://github.com/rtts/django-simplecms/releases/" +classifiers = [ + "Programming Language :: Python", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" +] +dependencies = [ + "django", + "django-embed-video", + "django-tidy", + "easy-thumbnails", + "libsass", + "markdown", + "psycopg", + "pylibmc", +] + +[project.scripts] +simplecms = "cms.__main__:main"