update 2023/4/30 pypi update

This commit is contained in:
bgArray 2023-04-30 22:45:03 +08:00
parent b8bae7b913
commit 6fe8e41dfa
2 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,6 @@
import math import math
import os import os
bdx_key = { bdx_key = {
"x": [b"\x0f", b"\x0e", b"\x1c", b"\x14", b"\x15"], "x": [b"\x0f", b"\x0e", b"\x1c", b"\x14", b"\x15"],
"y": [b"\x11", b"\x10", b"\x1d", b"\x16", b"\x17"], "y": [b"\x11", b"\x10", b"\x1d", b"\x16", b"\x17"],
@ -265,12 +264,10 @@ def form_repeater_in_NBT_struct(
delay: int, facing: int delay: int, facing: int
): ):
"""生成中继器方块 """生成中继器方块
:param powered:
:param locked:
:param facing: :param facing:
:param delay: 1~4 :param delay: 1~4
:return Block()""" :return Block()"""
from TrimMCStruct import Block from TrimMCStruct import Block
return Block( return Block(
@ -340,7 +337,6 @@ def form_command_block_in_NBT_struct(
:return:str :return:str
""" """
from TrimMCStruct import Block, TAG_Long from TrimMCStruct import Block, TAG_Long
return Block( return Block(
@ -389,7 +385,6 @@ def commands_to_structure(
:return 成功与否成功返回(结构类,结构占用大小)失败返回(False,str失败原因) :return 成功与否成功返回(结构类,结构占用大小)失败返回(False,str失败原因)
""" """
from TrimMCStruct import Structure from TrimMCStruct import Structure
_sideLength = bottem_side_length_of_smallest_square_bottom_box( _sideLength = bottem_side_length_of_smallest_square_bottom_box(

View File

@ -10,7 +10,7 @@ def main():
with console.status("Find the full path of .egg-info folder"): with console.status("Find the full path of .egg-info folder"):
egg_info: list = [] egg_info: list = []
for file in os.listdir(): for file in os.listdir():
if os.path.isfile(file) and file.endswith(".egg-info"): if file.endswith(".egg-info"):
egg_info.append(file) egg_info.append(file)
console.print(file) console.print(file)
for file in track(["build", "dist", "logs", *egg_info], description="Deleting files"): for file in track(["build", "dist", "logs", *egg_info], description="Deleting files"):