Skip to content

Commit

Permalink
Merge pull request #73 from jsocol/update-package-setup
Browse files Browse the repository at this point in the history
Switch to pyproject.toml
  • Loading branch information
jsocol authored Dec 5, 2023
2 parents 506b98f + 262bd71 commit d8a0834
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 37 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

v0.6
----

- Update supported Django and Python versions.
- Fix multiple bugs in urlconfs.
- Update test and build tooling to use GitHub Actions as a Trusted Publisher
for PyPI

v0.5
----

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2011, Mozilla Foundation
Copyright (c) 2023, James Socol
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include CHANGELOG
include LICENSE
include README.rst
recursive-include adminplus/templates/adminplus *.html
2 changes: 1 addition & 1 deletion adminplus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Django-AdminPlus module
"""

VERSION = (0, 5)
VERSION = (0, 6)
__version__ = '.'.join(map(str, VERSION))
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "django-adminplus"
version = "0.6"
authors = [{name = "James Socol", email = "[email protected]"}]
requires-python = ">= 3.7"
license = {file = "LICENSE"}
description = "Add new pages to the Django admin."
readme = "README.rst"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"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",
"Framework :: Django",
"Topic :: Software Development :: Libraries :: Python Modules",
]
urls = {Homepage = "https://github.com/jsocol/django-adminplus"}

[tool.distutils.bdist_wheel]
universal = 1

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages]
find = {namespaces = false}
35 changes: 0 additions & 35 deletions setup.py

This file was deleted.

0 comments on commit d8a0834

Please sign in to comment.