forked from carltongibson/django-filter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated packaging to use pyproject.toml and Flit.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
- Loading branch information
1 parent
00a5db7
commit c2e5a15
Showing
4 changed files
with
58 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "django-filter" | ||
version = "23.2" | ||
authors = [{name = "Alex Gaynor", email = "alex.gaynor@gmail.com"}] | ||
maintainers = [{name = "Carlton Gibson", email = "carlton.gibson@noumenal.es"}] | ||
license = {text = "BSD"} | ||
description = "Django-filter is a reusable Django application for allowing users to filter querysets dynamically." | ||
readme = "README.rst" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.0", | ||
"Framework :: Django :: 4.1", | ||
"Framework :: Django :: 4.2", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
requires-python = ">=3.7" | ||
dependencies = ["Django>=3.2"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/carltongibson/django-filter/tree/main" | ||
Documentation = "https://django-filter.readthedocs.io/en/main/" | ||
Changelog = "https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst" | ||
"Bug Tracker" = "https://github.com/carltongibson/django-filter/issues" | ||
"Source Code" = "https://github.com/carltongibson/django-filter" | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
include-package-data = true | ||
license-files = ["LICENSE"] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["tests*"] | ||
namespaces = false | ||
|
||
[tool.isort] | ||
profile = "black" | ||
skip = [".tox"] | ||
known_third_party = ["django", "pytz", "rest_framework"] | ||
known_first_party = ["django_filters"] | ||
|
||
[tool.flit.module] | ||
name = "django_filters" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
[metadata] | ||
license_file = LICENSE | ||
|
||
[isort] | ||
profile = black | ||
skip=.tox | ||
known_third_party=django,pytz,rest_framework | ||
known_first_party=django_filters | ||
|
||
[flake8] | ||
max_line_length = 120 | ||
max_complexity = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters