Skip to content

Commit

Permalink
Replaced setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ataylor32 committed Feb 7, 2024
1 parent 4e0b904 commit fa16e26
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 17 deletions.
35 changes: 35 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "django-adminlogentries"
authors = [
{ name="Adam Taylor", email="[email protected]" },
]
description = "A Django app that provides a ModelAdmin for django.contrib.admin's LogEntry model (with everything except the list disabled)"
readme = "README.rst"
dynamic = ["version"]
dependencies = [
"Django",
]
classifiers = [
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

[project.urls]
Homepage = "https://github.com/ataylor32/django-adminlogentries"
Repository = "https://github.com/ataylor32/django-adminlogentries.git"
Issues = "https://github.com/ataylor32/django-adminlogentries/issues"
Changelog = "https://github.com/ataylor32/django-adminlogentries/blob/master/CHANGELOG.md"

[tool.hatch.build]
include = [
"/admin_log_entries",
]

[tool.hatch.version]
path = "admin_log_entries/__init__.py"
17 changes: 0 additions & 17 deletions setup.py

This file was deleted.

1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[tox]
isolated_build = True
envlist =
{py35,py36,py37}-django{111,20,21}
{py35,py36,py37,py38,py39}-django22
Expand Down

0 comments on commit fa16e26

Please sign in to comment.