Skip to content

Commit

Permalink
Replaced setup.cfg and setup.py with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ataylor32 committed May 22, 2024
1 parent 12d05f4 commit 5465938
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 45 deletions.
50 changes: 50 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "django-friendly-tag-loader"
authors = [
{ name="Jaap Roes", email="[email protected]" },
{ name="Adam Taylor", email="[email protected]" },
]
description = "Want to optionally use a template tag library? Use this!"
readme = "README.rst"
dynamic = ["version"]
dependencies = [
"Django",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"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",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[project.urls]
Homepage = "https://github.com/ataylor32/django-friendly-tag-loader"
Repository = "https://github.com/ataylor32/django-friendly-tag-loader.git"
Issues = "https://github.com/ataylor32/django-friendly-tag-loader/issues"
Changelog = "https://github.com/ataylor32/django-friendly-tag-loader/blob/master/CHANGES.rst"

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

[tool.hatch.version]
path = "src/friendlytagloader/__init__.py"
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

43 changes: 0 additions & 43 deletions setup.py

This file was deleted.

1 change: 1 addition & 0 deletions src/friendlytagloader/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.3.1'
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 =
{py36,py37}-django{111,20,21},
{py36,py37,py38,py39}-django22
Expand Down

0 comments on commit 5465938

Please sign in to comment.