Skip to content

Commit 6bdc498

Browse files
Migrate Python package metadata to pyproject.toml
1 parent d40b3a3 commit 6bdc498

File tree

4 files changed

+59
-48
lines changed

4 files changed

+59
-48
lines changed

MANIFEST.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
include README.md LICENSE
1+
include README.md LICENSE tox.ini
2+
recursive-include docs *
3+
recursive-exclude docs/_build *
4+
recursive-include tests *
5+
exclude **/*.pyc

pyproject.toml

+54-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,56 @@
1-
[build-system]
2-
requires = [
3-
"setuptools>=42",
4-
"wheel"
1+
[project]
2+
name = "python-socketio"
3+
version = "5.9.1.dev0"
4+
authors = [
5+
{ name = "Miguel Grinberg", email = "[email protected]" },
6+
]
7+
description = "Socket.IO server and client for Python"
8+
classifiers = [
9+
"Environment :: Web Environment",
10+
"Intended Audience :: Developers",
11+
"Programming Language :: Python :: 3",
12+
"License :: OSI Approved :: MIT License",
13+
"Operating System :: OS Independent",
14+
]
15+
requires-python = ">=3.6"
16+
dependencies = [
17+
"bidict >= 0.21.0",
18+
"python-engineio >= 4.8.0",
19+
]
20+
21+
[project.readme]
22+
file = "README.md"
23+
content-type = "text/markdown"
24+
25+
[project.urls]
26+
Homepage = "https://github.com/miguelgrinberg/python-socketio"
27+
"Bug Tracker" = "https://github.com/miguelgrinberg/python-socketio/issues"
28+
29+
[project.optional-dependencies]
30+
client = [
31+
"requests >= 2.21.0",
32+
"websocket-client >= 0.54.0",
533
]
34+
asyncio_client = [
35+
"aiohttp >= 3.4",
36+
]
37+
docs = [
38+
"sphinx",
39+
]
40+
41+
[tool.setuptools]
42+
zip-safe = false
43+
include-package-data = true
44+
45+
[tool.setuptools.package-dir]
46+
"" = "src"
47+
48+
[tool.setuptools.packages.find]
49+
where = [
50+
"src",
51+
]
52+
namespaces = false
53+
54+
[build-system]
55+
requires = ["setuptools>=61.2"]
656
build-backend = "setuptools.build_meta"

setup.cfg

-40
This file was deleted.

setup.py

-3
This file was deleted.

0 commit comments

Comments
 (0)