Skip to content

Commit

Permalink
Catch ImportError when building HELP3O ext
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsebgosselin committed Nov 23, 2018
1 parent cda5765 commit eb70cc6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyhelp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@

__rootdir__ = os.path.dirname(os.path.realpath(__file__))

from pyhelp.managers import HelpManager
try:
from pyhelp.managers import HelpManager
except ImportError as e:
# We need to do this to avoid an error when building the
# help extension with setup.py
print('ImportError:', e)

0 comments on commit eb70cc6

Please sign in to comment.