Skip to content

Commit d8a0834

Browse files
authored
Merge pull request #73 from jsocol/update-package-setup
Switch to pyproject.toml
2 parents 506b98f + 262bd71 commit d8a0834

6 files changed

Lines changed: 49 additions & 37 deletions

File tree

CHANGELOG

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
=========
33

4+
v0.6
5+
----
6+
7+
- Update supported Django and Python versions.
8+
- Fix multiple bugs in urlconfs.
9+
- Update test and build tooling to use GitHub Actions as a Trusted Publisher
10+
for PyPI
11+
412
v0.5
513
----
614

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2011, Mozilla Foundation
1+
Copyright (c) 2023, James Socol
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include CHANGELOG
12
include LICENSE
23
include README.rst
34
recursive-include adminplus/templates/adminplus *.html

adminplus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
Django-AdminPlus module
33
"""
44

5-
VERSION = (0, 5)
5+
VERSION = (0, 6)
66
__version__ = '.'.join(map(str, VERSION))

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[build-system]
2+
requires = ["setuptools>=61.2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "django-adminplus"
7+
version = "0.6"
8+
authors = [{name = "James Socol", email = "me@jamessocol.com"}]
9+
requires-python = ">= 3.7"
10+
license = {file = "LICENSE"}
11+
description = "Add new pages to the Django admin."
12+
readme = "README.rst"
13+
classifiers = [
14+
"Development Status :: 4 - Beta",
15+
"Environment :: Web Environment",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: BSD License",
18+
"Operating System :: OS Independent",
19+
"Programming Language :: Python",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.7",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Framework :: Django",
27+
"Topic :: Software Development :: Libraries :: Python Modules",
28+
]
29+
urls = {Homepage = "https://github.com/jsocol/django-adminplus"}
30+
31+
[tool.distutils.bdist_wheel]
32+
universal = 1
33+
34+
[tool.setuptools]
35+
include-package-data = true
36+
37+
[tool.setuptools.packages]
38+
find = {namespaces = false}

setup.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)