Skip to content

Commit

Permalink
Merge pull request open-mmlab#124 from rivergold/rivergold/fix-setup
Browse files Browse the repository at this point in the history
Fix setup.py get_hash bug
  • Loading branch information
nbei authored Aug 6, 2020
2 parents b047427 + 4194a69 commit 14ec99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_hash():
sha = get_git_hash()[:7]
elif os.path.exists(version_file):
try:
from mmdet.version import __version__
from mmedit.version import __version__
sha = __version__.split('+')[-1]
except ImportError:
raise ImportError('Unable to get git version')
Expand Down

0 comments on commit 14ec99c

Please sign in to comment.