This commit is contained in:
guanjihuan 2023-11-29 01:14:40 +08:00
parent 74adc4faf8
commit 1608ae7437
3 changed files with 5 additions and 4 deletions

View File

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

View File

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

View File

@ -6,10 +6,11 @@ import guan
def test():
import 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('Checking for the latest version of Guan package.')
print(f'Congratulations on successfully installing Guan package! The installed version is guan-{current_version}.')
print('\nChecking for the latest version of Guan package.')
guan.notification_of_upgrade(timeout=5)
print('Check completed.')
print('\nTest completed.')
# 泡利矩阵
@guan.function_decorator