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
7
setup.py
7
setup.py
|
@ -1,15 +1,14 @@
|
|||
# -*- 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"],
|
||||
},
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue