FEAT: Modernized to support latest Pythons and DRF JSONAPI

This commit is contained in:
2026-08-23 12:33:13 +02:00
parent 533789645a
commit ddcf8fb039
22 changed files with 718 additions and 138 deletions
+3 -27
View File
@@ -1,29 +1,5 @@
from setuptools import setup, find_packages
import pathlib
"""Compatibility shim for tooling that still invokes setup.py directly."""
HERE = pathlib.Path(__file__).parent
from setuptools import setup
VERSION = '1.0.5'
PACKAGE_NAME = 'enhanced_drf_jsonapi'
LICENSE = 'MIT'
DESCRIPTION = 'Patch library for django rest framework json api'
LONG_DESCRIPTION = (HERE / "README.md").read_text(encoding='utf-8')
LONG_DESC_TYPE = "text/markdown"
INSTALL_REQUIRES = [
'djangorestframework-jsonapi~=7.0.2'
]
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
install_requires=INSTALL_REQUIRES,
license=LICENSE,
packages=find_packages(),
include_package_data=True
)
setup()