mirror of
https://github.com/django-components/django-components.git
synced 2025-09-24 06:32:30 +00:00
fix: support legacy tox and setuptools for Python 3.6
This commit is contained in:
parent
44f984c84b
commit
a818f18423
2 changed files with 6 additions and 5 deletions
9
setup.py
9
setup.py
|
@ -1,17 +1,16 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
VERSION = "0.61"
|
VERSION = "0.61"
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="django_components",
|
name="django_components",
|
||||||
package_dir={
|
packages=find_packages(where="src", exclude=["tests", "tests.*"]),
|
||||||
"django_components": "src/django_components"
|
package_dir={"": "src"},
|
||||||
},
|
|
||||||
package_data={
|
package_data={
|
||||||
"django_components": ["py.typed"],
|
"django_components": ["py.typed"],
|
||||||
},
|
},
|
||||||
version=VERSION,
|
version=VERSION,
|
||||||
description="A way to create simple reusable template components in Django.",
|
description="A way to create simple reusable template components in Django.",
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -29,6 +29,8 @@ python =
|
||||||
3.12: py312-django{42,50}, flake8, isort, coverage, mypy
|
3.12: py312-django{42,50}, flake8, isort, coverage, mypy
|
||||||
fail_on_no_env = True
|
fail_on_no_env = True
|
||||||
|
|
||||||
|
isolated_build = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
package = wheel
|
package = wheel
|
||||||
wheel_build_env = .pkg
|
wheel_build_env = .pkg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue