0.1.23 修复错误
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| Metadata-Version: 2.1 | ||||
| Name: guan | ||||
| Version: 0.1.22 | ||||
| Version: 0.1.23 | ||||
| Summary: An open source python package | ||||
| Home-page: https://py.guanjihuan.com | ||||
| Author: guanjihuan | ||||
|   | ||||
| @@ -13,7 +13,3 @@ from .plot_figures import * | ||||
| from .read_and_write import * | ||||
| from .file_processing import * | ||||
| from .data_processing import * | ||||
|  | ||||
| import guan | ||||
| guan.notification_of_upgrade() | ||||
| global_variable_of_first_guan_package_calling = True | ||||
| @@ -384,6 +384,7 @@ def get_mac_address(): | ||||
|     return mac_address | ||||
|  | ||||
| # Guan软件包的使用统计(不涉及到用户的个人数据) | ||||
| global_variable_of_first_guan_package_calling = True | ||||
| def statistics_of_guan_package(): | ||||
|     global global_variable_of_first_guan_package_calling | ||||
|     if global_variable_of_first_guan_package_calling == True: | ||||
| @@ -444,4 +445,7 @@ def notification_of_upgrade(timeout=2): | ||||
|                 if latest_version != current_version: | ||||
|                     print('提示:您当前使用的版本是 guan-'+current_version+',目前已经有最新版本 guan-'+latest_version+'。您可以通过以下命令对软件包进行升级:pip install --upgrade guan') | ||||
|         except: | ||||
|             pass | ||||
|             pass | ||||
|  | ||||
| import guan | ||||
| guan.notification_of_upgrade() | ||||
		Reference in New Issue
	
	Block a user