From 3338b31f486586bd7f6b20cc2a9fadd5ed192a00 Mon Sep 17 00:00:00 2001 From: Xintao Date: Fri, 22 Oct 2021 17:16:43 +0800 Subject: [PATCH] update setup.py, V0.2.2.5 --- VERSION | 2 +- setup.py | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/VERSION b/VERSION index fe7b1c3..58293a1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.2.4 +0.2.2.5 diff --git a/setup.py b/setup.py index c913145..c2b92e3 100644 --- a/setup.py +++ b/setup.py @@ -43,12 +43,6 @@ def get_git_hash(): def get_hash(): if os.path.exists('.git'): sha = get_git_hash()[:7] - elif os.path.exists(version_file): - try: - from realesrgan.version import __version__ - sha = __version__.split('+')[-1] - except ImportError: - raise ImportError('Unable to get git version') else: sha = 'unknown'