Skip to content

Commit 0ff1cf7

Browse files
committed
update setup.py, V0.2.3
1 parent 4f0562d commit 0ff1cf7

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.1
1+
0.2.3

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ def _minimal_ext_cmd(cmd):
4343
def get_hash():
4444
if os.path.exists('.git'):
4545
sha = get_git_hash()[:7]
46-
elif os.path.exists(version_file):
47-
try:
48-
from gfpgan.version import __version__
49-
sha = __version__.split('+')[-1]
50-
except ImportError:
51-
raise ImportError('Unable to get git version')
5246
else:
5347
sha = 'unknown'
5448

0 commit comments

Comments
 (0)