Skip to content

Commit f2a7f43

Browse files
committed
Merge pull request #8 from WLPhoenix/master
Fixed issue w/ pip installs involving version.py
2 parents 2784add + cc80764 commit f2a7f43

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

stackdio/client/version.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@
2222
import re
2323
import warnings
2424

25-
from .exceptions import (IncompatibleVersionException,
26-
InvalidVersionStringException)
25+
# for setup.py
26+
try:
27+
from .exceptions import (IncompatibleVersionException,
28+
InvalidVersionStringException)
29+
except:
30+
pass
2731

2832

2933
def _unsupported_function(func, current_version, accepted_versions):

0 commit comments

Comments
 (0)