fix: support legacy tox and setuptools for Python 3.6

This commit is contained in:
Gabriel Dugny 2024-03-24 17:36:07 +01:00 committed by Emil Stenström
parent 44f984c84b
commit a818f18423
2 changed files with 6 additions and 5 deletions

View file

@ -1,17 +1,16 @@
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools import find_packages, setup
VERSION = "0.61"
setup(
name="django_components",
package_dir={
"django_components": "src/django_components"
},
packages=find_packages(where="src", exclude=["tests", "tests.*"]),
package_dir={"": "src"},
package_data={
"django_components": ["py.typed"],
"django_components": ["py.typed"],
},
version=VERSION,
description="A way to create simple reusable template components in Django.",

View file

@ -29,6 +29,8 @@ python =
3.12: py312-django{42,50}, flake8, isort, coverage, mypy
fail_on_no_env = True
isolated_build = true
[testenv]
package = wheel
wheel_build_env = .pkg