Skip to content

Commit

Permalink
🔥 feat:修改pyproject配置,主要移除掉markdown相关依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalyes committed May 8, 2023
1 parent 3cc3698 commit 98b91ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custard/core/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
]


Expand All @@ -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"
Expand Down

0 comments on commit 98b91ce

Please sign in to comment.