1 Commits

Author SHA1 Message Date
Xintao
0ff1cf7215 update setup.py, V0.2.3 2021-10-22 17:06:29 +08:00
2 changed files with 1 additions and 7 deletions

View File

@@ -1 +1 @@
0.2.1
0.2.3

View File

@@ -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'