0.1.23 修复错误
This commit is contained in:
parent
0716d5b227
commit
dc21601f5f
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.1.22
|
version = 0.1.23
|
||||||
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
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.1
|
Metadata-Version: 2.1
|
||||||
Name: guan
|
Name: guan
|
||||||
Version: 0.1.22
|
Version: 0.1.23
|
||||||
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
|
||||||
|
@ -13,7 +13,3 @@ from .plot_figures import *
|
|||||||
from .read_and_write import *
|
from .read_and_write import *
|
||||||
from .file_processing import *
|
from .file_processing import *
|
||||||
from .data_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
|
return mac_address
|
||||||
|
|
||||||
# Guan软件包的使用统计(不涉及到用户的个人数据)
|
# Guan软件包的使用统计(不涉及到用户的个人数据)
|
||||||
|
global_variable_of_first_guan_package_calling = True
|
||||||
def statistics_of_guan_package():
|
def statistics_of_guan_package():
|
||||||
global global_variable_of_first_guan_package_calling
|
global global_variable_of_first_guan_package_calling
|
||||||
if global_variable_of_first_guan_package_calling == True:
|
if global_variable_of_first_guan_package_calling == True:
|
||||||
@ -445,3 +446,6 @@ def notification_of_upgrade(timeout=2):
|
|||||||
print('提示:您当前使用的版本是 guan-'+current_version+',目前已经有最新版本 guan-'+latest_version+'。您可以通过以下命令对软件包进行升级:pip install --upgrade guan')
|
print('提示:您当前使用的版本是 guan-'+current_version+',目前已经有最新版本 guan-'+latest_version+'。您可以通过以下命令对软件包进行升级:pip install --upgrade guan')
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
import guan
|
||||||
|
guan.notification_of_upgrade()
|
Loading…
x
Reference in New Issue
Block a user