Browse Source

update setup.py, V0.2.2.5

Xintao 3 years ago
parent
commit
3338b31f48
2 changed files with 1 additions and 7 deletions
  1. 1 1
      VERSION
  2. 0 6
      setup.py

+ 1 - 1
VERSION

@@ -1 +1 @@
-0.2.2.4
+0.2.2.5

+ 0 - 6
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'