wisp-python 0.5.1__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wisp_python-0.5.1/src/wisp_python.egg-info → wisp_python-0.5.2}/PKG-INFO +2 -2
- {wisp_python-0.5.1 → wisp_python-0.5.2}/pyproject.toml +2 -2
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/server/__main__.py +4 -1
- {wisp_python-0.5.1 → wisp_python-0.5.2/src/wisp_python.egg-info}/PKG-INFO +2 -2
- wisp_python-0.5.2/src/wisp_python.egg-info/requires.txt +5 -0
- wisp_python-0.5.1/src/wisp_python.egg-info/requires.txt +0 -3
- {wisp_python-0.5.1 → wisp_python-0.5.2}/LICENSE +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/README.md +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/setup.cfg +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/__init__.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/server/__init__.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/server/connection.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/server/http.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/server/net.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/server/ratelimit.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp/util.py +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp_python.egg-info/SOURCES.txt +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp_python.egg-info/dependency_links.txt +0 -0
- {wisp_python-0.5.1 → wisp_python-0.5.2}/src/wisp_python.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wisp-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: An implementation of a Wisp proxy server in Python
|
|
5
5
|
Author: ading2210
|
|
6
6
|
Project-URL: Homepage, https://github.com/MercuryWorkshop/wisp-server-python
|
|
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: websockets
|
|
15
15
|
Requires-Dist: asyncudp
|
|
16
|
-
Requires-Dist: uvloop
|
|
16
|
+
Requires-Dist: uvloop; sys_platform != "win32" and sys_platform != "cygwin"
|
|
17
17
|
|
|
18
18
|
# Python Wisp Server
|
|
19
19
|
|
|
@@ -11,7 +11,7 @@ package-dir = {"" = "src"}
|
|
|
11
11
|
|
|
12
12
|
[project]
|
|
13
13
|
name = "wisp-python"
|
|
14
|
-
version = "0.5.
|
|
14
|
+
version = "0.5.2"
|
|
15
15
|
authors = [
|
|
16
16
|
{name="ading2210"},
|
|
17
17
|
]
|
|
@@ -26,7 +26,7 @@ classifiers = [
|
|
|
26
26
|
dependencies = [
|
|
27
27
|
"websockets",
|
|
28
28
|
"asyncudp",
|
|
29
|
-
"uvloop"
|
|
29
|
+
"uvloop; sys_platform != 'win32' and sys_platform != 'cygwin'"
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import argparse
|
|
2
2
|
import asyncio
|
|
3
3
|
import logging
|
|
4
|
+
import sys
|
|
4
5
|
|
|
5
6
|
try:
|
|
6
7
|
import uvloop
|
|
@@ -38,5 +39,7 @@ if __name__ == "__main__":
|
|
|
38
39
|
if use_uvloop:
|
|
39
40
|
uvloop.run(wisp.server.http.main(args))
|
|
40
41
|
else:
|
|
41
|
-
|
|
42
|
+
#uvloop doesn't support windows at all so we don't need to print the error
|
|
43
|
+
if not sys.platform in ("win32", "cygwin"):
|
|
44
|
+
logging.error("Importing uvloop failed. Falling back to asyncio, which is slower.")
|
|
42
45
|
asyncio.run(wisp.server.http.main(args))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wisp-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: An implementation of a Wisp proxy server in Python
|
|
5
5
|
Author: ading2210
|
|
6
6
|
Project-URL: Homepage, https://github.com/MercuryWorkshop/wisp-server-python
|
|
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: websockets
|
|
15
15
|
Requires-Dist: asyncudp
|
|
16
|
-
Requires-Dist: uvloop
|
|
16
|
+
Requires-Dist: uvloop; sys_platform != "win32" and sys_platform != "cygwin"
|
|
17
17
|
|
|
18
18
|
# Python Wisp Server
|
|
19
19
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|