Skip to content

Commit

Permalink
Migrate Python package metadata to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Oct 11, 2023
1 parent 5c996be commit f13b64d
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 47 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include README.md LICENSE
include README.md LICENSE tox.ini tests/**/* docs/**/*
exclude **/*.pyc
45 changes: 41 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
[project]
name = "python-engineio"
version = "4.7.2.dev0"
authors = [{name = "Miguel Grinberg", email = "[email protected]"}]
description = "Engine.IO server and client for Python"
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.6"
dependencies = ["simple-websocket >= 0.10.0"]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://github.com/miguelgrinberg/python-engineio"
"Bug Tracker" = "https://github.com/miguelgrinberg/python-engineio/issues"

[project.optional-dependencies]
client = [
"requests >= 2.21.0",
"websocket-client >= 0.54.0",
]
asyncio_client = ["aiohttp >= 3.4"]
docs = ["sphinx"]

[tool.setuptools]
zip-safe = false
include-package-data = true
package-dir = {"" = "src"}

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false

[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
39 changes: 0 additions & 39 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit f13b64d

Please sign in to comment.