Skip to content

Commit

Permalink
Use setup.cfg instead of setup.py. (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Oct 20, 2021
1 parent 5a9d4d3 commit 1d2743e
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 50 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ next
`#31 <https://github.com/clokep/django-render-block/pull/31>`_)
* Switch continuous integration to GitHub Actions. (`#26 <https://github.com/clokep/django-render-block/pull/26>`_,
`#28 <https://github.com/clokep/django-render-block/pull/28>`_)
* Changed packaging to use setuptools declarative config in `setup.cfg`.
(`#32 <https://github.com/clokep/django-render-block/pull/32>`_)

0.8.1 (October 15, 2020)
========================
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=38.6.0", "wheel"]
build-backend = "setuptools.build_meta"
33 changes: 33 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[metadata]
name = django-render-block
version = 0.9dev
description = Render a particular block from a template to a string.
long_description = file: README.rst, CHANGELOG.rst
long_description_content_type = text/x-rst
author = Patrick Cloke
author_email = [email protected]
url = https://github.com/clokep/django-render-block
download_url = https://github.com/clokep/django-render-block
keywords = [django, template, block, templates, render, context]
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Topic :: Software Development :: Libraries :: Python Modules
Environment :: Web Environment
Topic :: Internet
Framework :: Django
Framework :: Django :: 2.2
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Programming Language :: Python
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
License :: OSI Approved :: ISC License (ISCL)

[options]
package = find:
install_requires = django>=2.2
python_requires = >=3.6
50 changes: 0 additions & 50 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
Expand Up @@ -8,6 +8,7 @@ envlist =
py{36,37,38,39}-django{22,31,32},
# Django 4.0 drops support for Python 3.6/3.7.
py{38,39}-django{40,main}
isolated_build = True
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 1d2743e

Please sign in to comment.