Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions easy_thumbnails/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ def get_version(*args, **kwargs):
# Only import if it's actually called.
from .version_utils import get_version
return get_version(*args, **kwargs)


__version__ = get_version()
68 changes: 68 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[build-system]
requires = ["setuptools>=80"]
build-backend = "setuptools.build_meta"

[project]
name = "easy-thumbnails"
dynamic = ["version"]
description = "Easy thumbnails for Django"
readme = "README.rst"
authors = [
{name="Chris Beaven", email="smileychris@gmail.com"},
]
license = "BSD-3-Clause"
license-files = ["LICENSE"]
requires-python = ">=3.9"
dependencies = [
"django>=4.2",
"pillow",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]

[project.optional-dependencies]
svg = [
"svglib",
"reportlab",
]

[project.urls]
Homepage = "http://github.com/SmileyChris/easy-thumbnails"

[tool.setuptools]
packages = ["easy_thumbnails"]
include-package-data = true
zip-safe = false

[tool.setuptools.package-data]
easy_thumbnails = [
"management/**/*",
"mirgrations/**/*",
"optimize/**/*",
"templatetags/**/*",
"tests/**/*",
"VIL/**/*",
]

[tool.setuptools.dynamic]
version = {attr="easy_thumbnails.__version__"}

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "easy_thumbnails.tests.settings"
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

66 changes: 0 additions & 66 deletions setup.py

This file was deleted.

Loading