放弃打包流程, 退化目录

This commit is contained in:
2025-11-05 11:15:49 +08:00
parent e07d604d12
commit d102ed124c
17 changed files with 1 additions and 38 deletions

View File

View File

@@ -1,3 +0,0 @@
include LICENSE
include README.md
global-exclude *.meta

View File

@@ -228,7 +228,7 @@ class GlobalConfig:
return self
# 配置查找
def FindItem(self, key: str, default: Any = None) -> Any:
def FindItem[T](self, key: str, default: Optional[T] = None) -> Optional[T]:
"""查找配置项,支持默认值"""
if key in self._data_pair:
return self._data_pair[key]

View File

@@ -1,7 +0,0 @@
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from Convention.Runtime.Config import *
print(PlatformIndicator.PrettyFace)

View File

@@ -1,27 +0,0 @@
from setuptools import setup, find_packages
import io
setup(
name="Convention",
version="0.1.0",
author="LiuBai",
description="A python version code repository for implementing the agreements and implementations in the Convention-Template.",
long_description=io.open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url="https://github.com/NINEMINEsigma/Convention-Python",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.12",
install_requires=[
"colorama",
"pydantic",
"python-docx",
"Pillow",
"pydub"
],
exclude_package_data={"": ["*.meta"]},
)