From 98b91cecba87bacac34b1c87628263fb645266fe Mon Sep 17 00:00:00 2001 From: kamalyes <501893067@qq.com> Date: Mon, 8 May 2023 15:37:18 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20feat=EF=BC=9A=E4=BF=AE=E6=94=B9pyproje?= =?UTF-8?q?ct=E9=85=8D=E7=BD=AE,=E4=B8=BB=E8=A6=81=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=8E=89markdown=E7=9B=B8=E5=85=B3=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custard/core/system.py | 2 +- pyproject.toml | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/custard/core/system.py b/custard/core/system.py index bfda238..816c538 100644 --- a/custard/core/system.py +++ b/custard/core/system.py @@ -167,7 +167,7 @@ def walk(cls, root_dir: str): dirs = [os.path.join(root_dir, index) for index in os.listdir(root_dir)] for index in dirs: for root, dirs, files in os.walk(index, topdown=False): - file_path = [os.path.join(root, file) for file in files] + file_path = [os.path.join(root, file).replace('\\', '/') for file in files] result += file_path return result diff --git a/pyproject.toml b/pyproject.toml index 500aa25..d6444b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "custard" -version = "1.1.5" +version = "1.1.6" description = "custard easy to learn, fast to code, ready for production" readme = "README.md" license = "MIT" @@ -22,9 +22,8 @@ classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", ] @@ -44,8 +43,6 @@ fastapi = { version = ">=0.78.0,<0.95.2", optional = true } psycopg2-binary = "^2.9.5" mkdocs = "^1.4.1" mkdocs-material = "^9.1.8" -pymdown-extensions = "^9.11" -fontawesome-markdown = "^0.2.6" httpx = "^0.24.0" asgi-lifespan = "^2.1.0" requests = "^2.29.0"