放弃打包流程, 退化目录
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
include LICENSE
|
|
||||||
include README.md
|
|
||||||
global-exclude *.meta
|
|
||||||
@@ -228,7 +228,7 @@ class GlobalConfig:
|
|||||||
return self
|
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:
|
if key in self._data_pair:
|
||||||
return self._data_pair[key]
|
return self._data_pair[key]
|
||||||
@@ -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)
|
|
||||||
|
|
||||||
27
setup.py
27
setup.py
@@ -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"]},
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user