This commit is contained in:
guanjihuan 2023-11-29 01:06:26 +08:00
parent 4a4873339f
commit 74adc4faf8
3 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[metadata] [metadata]
# replace with your username: # replace with your username:
name = guan name = guan
version = 0.1.56 version = 0.1.57
author = guanjihuan author = guanjihuan
author_email = guanjihuan@163.com author_email = guanjihuan@163.com
description = An open source python package description = An open source python package

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: guan Name: guan
Version: 0.1.56 Version: 0.1.57
Summary: An open source python package Summary: An open source python package
Home-page: https://py.guanjihuan.com Home-page: https://py.guanjihuan.com
Author: guanjihuan Author: guanjihuan

View File

@ -7,7 +7,9 @@ def test():
import guan import guan
current_version = guan.get_current_version('guan') current_version = guan.get_current_version('guan')
print(f'Success in the installation of Guan package! The installed version is guan-{current_version}.') print(f'Success in the installation of Guan package! The installed version is guan-{current_version}.')
print('Checking for the latest version of Guan package.')
guan.notification_of_upgrade(timeout=5) guan.notification_of_upgrade(timeout=5)
print('Check completed.')
# 泡利矩阵 # 泡利矩阵
@guan.function_decorator @guan.function_decorator