diff --git a/README.md b/README.md index fc2b24c..4203fd2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ for experimental local testing and playing ## Instructions -1. Install [python](https://www.python.org/ftp/python/3.10.8/python-3.10.8-amd64.exe) with "Add python.exe to PATH" checked +1. Install [python](https://www.python.org/ftp/python/3.11.1/python-3.11.1-amd64.exe) with "Add python.exe to PATH" checked 1. Run `start.bat` diff --git a/modules/ddr/api.py b/modules/ddr/api.py index 6436784..24b42b5 100644 --- a/modules/ddr/api.py +++ b/modules/ddr/api.py @@ -11,7 +11,7 @@ import utils.card as conv from utils.lz77 import EamuseLZ77 import lxml.etree as ET -import json +import ujson as json import struct from typing import Dict, List, Tuple from os import path diff --git a/pyeamu.py b/pyeamu.py index d700943..63201a5 100644 --- a/pyeamu.py +++ b/pyeamu.py @@ -2,7 +2,7 @@ from urllib.parse import urlunparse, urlencode import uvicorn -import json +import ujson as json from os import path from fastapi import FastAPI, Request, Response diff --git a/requirements.txt b/requirements.txt index 3e01414..8f41547 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,17 +2,18 @@ anyio==3.6.2 asgiref==3.5.2 click==8.1.3 colorama==0.4.6 -fastapi==0.86.0 +fastapi==0.88.0 h11==0.14.0 idna==3.4 kbinxml==1.7 -lxml==4.9.1 -pycryptodomex==3.15.0 +lxml==4.9.2 +pycryptodomex==3.16.0 pydantic==1.10.2 python-multipart==0.0.5 six==1.16.0 sniffio==1.3.0 -starlette==0.20.4 +starlette==0.22.0 tinydb==4.7.0 typing_extensions==4.4.0 -uvicorn==0.19.0 +ujson==5.6.0 +uvicorn[standard]==0.20.0 diff --git a/start.bat b/start.bat index 7829b01..cc8d01f 100644 --- a/start.bat +++ b/start.bat @@ -2,7 +2,7 @@ cd /d %~dp0 -if exist .venv\Lib\site-packages\six.py ( +if exist .venv\Lib\site-packages\ujson*.pyd ( ( .venv\Scripts\activate.bat python pyeamu.py @@ -17,8 +17,8 @@ if exist .venv\Lib\site-packages\six.py ( ) echo: -echo Install python and check "Add python.exe to PATH" -echo https://www.python.org/ftp/python/3.10.8/python-3.10.8-amd64.exe +echo Install python with "Add python.exe to PATH" checked +echo https://www.python.org/ftp/python/3.11.1/python-3.11.1-amd64.exe echo: pause