17 lines
674 B
Python
17 lines
674 B
Python
# Copyright (C) 2018-2021 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import datetime
|
|
|
|
msg_fmt = 'It\'s been a while, check for a new version of ' + \
|
|
'Intel(R) Distribution of OpenVINO(TM) toolkit here {0} or on the GitHub*'
|
|
|
|
|
|
def get_ov_update_message():
|
|
expected_update_date = datetime.date(year=2021, month=10, day=15)
|
|
current_date = datetime.date.today()
|
|
|
|
link = 'https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&source=prod&campid=ww_2021_bu_IOTG_OpenVINO-2021-4-LTS&content=upg_all&medium=organic'
|
|
|
|
return msg_fmt.format(link) if current_date >= expected_update_date else None
|