File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def run(self):
107
107
108
108
setup (
109
109
install_requires = read_text ('requirements.in' ),
110
- version = get_version ('src/openvino/model_zoo/__init__ .py' ),
110
+ version = get_version ('src/openvino/model_zoo/_version .py' ),
111
111
extras_require = {
112
112
'pytorch' : read_text ('requirements-pytorch.in' ),
113
113
'tensorflow2' : read_text ('requirements-tensorflow.in' ),
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- __version__ = "1.0.2"
15
+ __path__ = __import__ ( 'pkgutil' ). extend_path ( __path__ , __name__ )
Original file line number Diff line number Diff line change 20
20
21
21
from pathlib import Path
22
22
23
- from . import __version__
23
+ from openvino . model_zoo . _version import __version__
24
24
25
25
PACKAGE_DIR = Path (__file__ ).resolve ().parent
26
26
MODEL_ROOT = PACKAGE_DIR / 'models'
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022 Intel Corporation
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ __version__ = "1.0.2"
You can’t perform that action at this time.
0 commit comments