Skip to content

Commit

Permalink
Migrate to PEP 621
Browse files Browse the repository at this point in the history
  • Loading branch information
hattya committed Feb 21, 2024
1 parent 7737877 commit 9af0064
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 48 deletions.
9 changes: 0 additions & 9 deletions .coveragerc

This file was deleted.

67 changes: 66 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,71 @@
[build-system]
requires = [
"setuptools >= 42",
"setuptools >= 61.0",
"scmver",
]
build-backend = "setuptools.build_meta"

[project]
name = "ayame"
description = "An Apache Wicket-like component based WSGI framework"
readme = "README.rst"
authors = [
{name = "Akinori Hattori", email = "hattya@gmail.com"},
]
license = {text = "MIT"}
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">= 3.8"
dependencies = [
"Werkzeug",
"secure-cookie",
]
dynamic = [
"version",
]

[project.urls]
Homepage = "https://github.com/hattya/ayame"

[tool.setuptools]
include-package-data = false
packages = [
"ayame",
"ayame.app",
"ayame.border",
"ayame.page",
"ayame.panel",
]

[tool.setuptools.package-data]
"*" = [
"*.html",
"*.properties",
]

[tool.coverage.run]
branch = true
omit = [
"*/_compat.py",
]

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError:",
]
36 changes: 0 additions & 36 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,39 +1,3 @@
[metadata]
name = ayame
description = An Apache Wicket-like component based WSGI framework
long_description = file: README.rst
author = Akinori Hattori
author_email = hattya@gmail.com
url = https://github.com/hattya/ayame
license = MIT
license_files = LICENSE.txt
classifiers =
Development Status :: 3 - Alpha
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
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
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: Libraries :: Python Modules

[options]
python_requires = >= 3.8
packages = ayame
install_requires =
Werkzeug
secure-cookie

[options.package_data]
ayame = */*.html

[sdist]
formats = zip
group = users
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ isolated_build = True

[testenv]
deps =
coverage
setuptools
coverage[toml] >= 5.0
setuptools > 61.0
flake8 >= 3.7
scmver
commands =
Expand Down

0 comments on commit 9af0064

Please sign in to comment.