skip support for django 1.11, 2.0 and 2.1

django-5.0
Thomas Leichtfuß 2023-02-12 20:42:14 +01:00
parent f3ee08c941
commit 8dde56acf6
3 changed files with 22 additions and 25 deletions

View File

@ -2,19 +2,17 @@
Welcome to django-more-admin-filters
====================================
.. image:: https://travis-ci.com/thomst/django-more-admin-filters.svg?branch=master
:target: https://travis-ci.com/thomst/django-more-admin-filters
.. image:: https://coveralls.io/repos/github/thomst/django-more-admin-filters/badge.svg?branch=master
:target: https://coveralls.io/github/thomst/django-more-admin-filters?branch=master
:alt: coveralls badge
.. image:: https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue
:target: https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue
:alt: python: 3.5, 3.6, 3.7, 3.8, 3.9
.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue
:target: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue
:alt: python: 3.6, 3.7, 3.8, 3.9
.. image:: https://img.shields.io/badge/django-1.11%20%7C%202.0%20%7C%202.1%20%7C%202.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange
:target: https://img.shields.io/badge/django-1.11%20%7C%202.0%20%7C%202.1%20%7C%202.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange
:alt: django: 1.11, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2
.. image:: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange
:target: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange
:alt: django: 2.2, 3.0, 3.1, 3.2
Description

View File

@ -12,9 +12,9 @@ def read(filename):
version = __import__("more_admin_filters").__version__
if '-dev' in version:
if 'dev' in version:
dev_status = 'Development Status :: 3 - Alpha'
elif '-beta' in version:
elif 'beta' in version:
dev_status = 'Development Status :: 4 - Beta'
else:
dev_status = 'Development Status :: 5 - Production/Stable'
@ -27,27 +27,31 @@ setup(
long_description=read("README.rst"),
author="Thomas Leichtfuß",
author_email="thomas.leichtfuss@posteo.de",
url="https://github.com/thomst/django-more-admin-filters",
license="BSD License",
platforms=["OS Independent"],
packages=find_packages(exclude=["tests"]),
include_package_data=True,
install_requires=[
"Django>=1.11,<3.3",
"Django>=2.2,<4.0",
],
classifiers=[
dev_status,
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Application Frameworks",

17
tox.ini
View File

@ -5,25 +5,20 @@
[tox]
envlist =
{py35,py36,py37}-django111,
{py35,py36,py37}-django20,
{py35,py36,py37}-django21,
{py35,py36,py37,py38}-django22,
{py36,py37,py38}-django30,
{py36,py37,py38}-django31,
{py36,py37,py38,py39}-django32
{py36,py37,py38}-django22
{py36,py37,py38}-django30
{py36,py37,py38}-django31
{py37,py38,py39}-django32
skip_missing_interpreters = true
[testenv]
deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
selenium
selenium<4.3.0
commands = {envpython} tests/manage.py test testapp {posargs}
setenv = PYTHONPATH = .:{toxworkdir}