From 0ff1cf72152b9ecb92d1cecb9d0c7ab98d25d4f3 Mon Sep 17 00:00:00 2001 From: Xintao Date: Fri, 22 Oct 2021 17:06:29 +0800 Subject: [PATCH] update setup.py, V0.2.3 --- VERSION | 2 +- setup.py | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/VERSION b/VERSION index 0c62199..7179039 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.1 +0.2.3 diff --git a/setup.py b/setup.py index 9c8cd7f..474e918 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 gfpgan.version import __version__ - sha = __version__.split('+')[-1] - except ImportError: - raise ImportError('Unable to get git version') else: sha = 'unknown'