Migrate Python package metadata to pyproject.toml
This commit is contained in:
5
MANIFEST.in
Normal file
5
MANIFEST.in
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
include README.md LICENSE tox.ini
|
||||||
|
recursive-include docs *
|
||||||
|
recursive-exclude docs/_build *
|
||||||
|
recursive-include tests *
|
||||||
|
exclude **/*.pyc
|
||||||
@@ -1,6 +1,57 @@
|
|||||||
|
[project]
|
||||||
|
name = "microdot"
|
||||||
|
version = "1.3.4.dev0"
|
||||||
|
authors = [
|
||||||
|
{ name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com" },
|
||||||
|
]
|
||||||
|
description = "The impossibly small web framework for MicroPython"
|
||||||
|
classifiers = [
|
||||||
|
"Environment :: Web Environment",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: Implementation :: MicroPython",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.readme]
|
||||||
|
file = "README.md"
|
||||||
|
content-type = "text/markdown"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://github.com/miguelgrinberg/microdot"
|
||||||
|
"Bug Tracker" = "https://github.com/miguelgrinberg/microdot/issues"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
docs = [
|
||||||
|
"sphinx",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
zip-safe = false
|
||||||
|
include-package-data = true
|
||||||
|
py-modules = [
|
||||||
|
"microdot",
|
||||||
|
"microdot_asyncio",
|
||||||
|
"microdot_utemplate",
|
||||||
|
"microdot_jinja",
|
||||||
|
"microdot_session",
|
||||||
|
"microdot_cors",
|
||||||
|
"microdot_websocket",
|
||||||
|
"microdot_websocket_alt",
|
||||||
|
"microdot_asyncio_websocket",
|
||||||
|
"microdot_test_client",
|
||||||
|
"microdot_asyncio_test_client",
|
||||||
|
"microdot_wsgi",
|
||||||
|
"microdot_asgi",
|
||||||
|
"microdot_asgi_websocket",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.setuptools.package-dir]
|
||||||
|
"" = "src"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools>=42",
|
"setuptools>=61.2",
|
||||||
"wheel"
|
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|||||||
43
setup.cfg
43
setup.cfg
@@ -1,43 +0,0 @@
|
|||||||
[metadata]
|
|
||||||
name = microdot
|
|
||||||
version = 1.3.4.dev0
|
|
||||||
author = Miguel Grinberg
|
|
||||||
author_email = miguel.grinberg@gmail.com
|
|
||||||
description = The impossibly small web framework for MicroPython
|
|
||||||
long_description = file: README.md
|
|
||||||
long_description_content_type = text/markdown
|
|
||||||
url = https://github.com/miguelgrinberg/microdot
|
|
||||||
project_urls =
|
|
||||||
Bug Tracker = https://github.com/miguelgrinberg/microdot/issues
|
|
||||||
classifiers =
|
|
||||||
Environment :: Web Environment
|
|
||||||
Intended Audience :: Developers
|
|
||||||
Programming Language :: Python :: 3
|
|
||||||
Programming Language :: Python :: Implementation :: MicroPython
|
|
||||||
License :: OSI Approved :: MIT License
|
|
||||||
Operating System :: OS Independent
|
|
||||||
|
|
||||||
[options]
|
|
||||||
zip_safe = False
|
|
||||||
include_package_data = True
|
|
||||||
package_dir =
|
|
||||||
= src
|
|
||||||
py_modules =
|
|
||||||
microdot
|
|
||||||
microdot_asyncio
|
|
||||||
microdot_utemplate
|
|
||||||
microdot_jinja
|
|
||||||
microdot_session
|
|
||||||
microdot_cors
|
|
||||||
microdot_websocket
|
|
||||||
microdot_websocket_alt
|
|
||||||
microdot_asyncio_websocket
|
|
||||||
microdot_test_client
|
|
||||||
microdot_asyncio_test_client
|
|
||||||
microdot_wsgi
|
|
||||||
microdot_asgi
|
|
||||||
microdot_asgi_websocket
|
|
||||||
|
|
||||||
[options.extras_require]
|
|
||||||
docs =
|
|
||||||
sphinx
|
|
||||||
Reference in New Issue
Block a user