diff --git a/src/rez/vendor/version/__init__.py b/src/rez/vendor/version/__init__.py new file mode 100644 index 0000000000..57d748640c --- /dev/null +++ b/src/rez/vendor/version/__init__.py @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the Rez Project + + +import warnings + +warnings.warn( + "module 'rez.vendor.version' is deprecated and will be removed in 3.0.0. Use 'rez.version' instead.", + DeprecationWarning, + stacklevel=2 +) diff --git a/src/rez/vendor/version/requirement.py b/src/rez/vendor/version/requirement.py new file mode 100644 index 0000000000..04f53ae5f2 --- /dev/null +++ b/src/rez/vendor/version/requirement.py @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the Rez Project + + +from rez.version._requirement import * diff --git a/src/rez/vendor/version/util.py b/src/rez/vendor/version/util.py new file mode 100644 index 0000000000..49dddd77c7 --- /dev/null +++ b/src/rez/vendor/version/util.py @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the Rez Project + + +from rez.version._util import * diff --git a/src/rez/vendor/version/version.py b/src/rez/vendor/version/version.py new file mode 100644 index 0000000000..f3b7c54d73 --- /dev/null +++ b/src/rez/vendor/version/version.py @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the Rez Project + + +from rez.version._version import *