There was an error while loading. Please reload this page.
1 parent 4dd4e7a commit a1f058cCopy full SHA for a1f058c
src/hyperpython/__init__.py
@@ -1,10 +1,10 @@
1
"""
2
Core Hyperpython API
3
4
-__version__ = '0.2.0'
+__version__ = '0.3.0'
5
__author__ = 'Fábio Macêdo Mendes'
6
7
-# We put all
+# Ugly hack to make it possible to store __version__ directly on __init__.py
8
try:
9
from .core import Element, Text, Block
10
from .html import html, render
@@ -25,6 +25,6 @@
25
from .utils import escape, unescape, safe, sanitize
26
from .fragment import fragment
27
from .helpers import classes
28
-except Exception as exc:
+except ImportError as exc:
29
print('Caught exception:', exc)
30
print('This is expected during installation.')
0 commit comments