-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update package metadata * Update setup.py * Update contributing.rst
- Loading branch information
Showing
10 changed files
with
115 additions
and
98 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# TODO: move this to pyproject.toml when supported, see https://github.com/PyCQA/flake8/issues/234 | ||
|
||
[flake8] | ||
extend-ignore = E203, E501 |
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
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "django-debug-toolbar" | ||
dynamic = ["version"] | ||
description = "A configurable set of panels that display various debug information about the current request/response." | ||
readme = "README.rst" | ||
license = "BSD-3-Clause" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Rob Hudson", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.0", | ||
"Framework :: Django :: 4.1", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"Django >= 3.2.4", | ||
"sqlparse >= 0.2.0", | ||
] | ||
|
||
[project.urls] | ||
Download = "https://pypi.org/project/django-debug-toolbar/" | ||
Homepage = "https://github.com/jazzband/django-debug-toolbar" | ||
|
||
[tool.hatch.version] | ||
path = "debug_toolbar/__init__.py" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["debug_toolbar"] | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/debug_toolbar", | ||
"/CONTRIBUTING.md", | ||
] | ||
|
||
[tool.isort] | ||
combine_as_imports = true | ||
profile = "black" | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
parallel = true | ||
source = ["debug_toolbar"] | ||
|
||
[tool.coverage.paths] | ||
source = ["src", ".tox/*/site-packages"] | ||
|
||
[tool.coverage.report] | ||
# Update coverage badge link in README.rst when fail_under changes | ||
fail_under = 93 | ||
show_missing = true | ||
|
||
[tool.coverage.html] | ||
skip_covered = true | ||
skip_empty = true |
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
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,5 +1,23 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from setuptools import setup | ||
|
||
setup() | ||
sys.stderr.write( | ||
"""\ | ||
=============================== | ||
Unsupported installation method | ||
=============================== | ||
This project no longer supports installation with `python setup.py install`. | ||
Please use `python -m pip install .` instead. | ||
""" | ||
) | ||
sys.exit(1) | ||
|
||
# The code below will never execute, however is required to | ||
# display the "Used by" section on the GitHub repository. | ||
# | ||
# See: https://github.com/github/feedback/discussions/6456 | ||
|
||
setup(name="django-debug-toolbar") |
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