Skip to content

Commit a1f058c

Browse files
committed
Bump version to 0.3.0
1 parent 4dd4e7a commit a1f058c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/hyperpython/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"""
22
Core Hyperpython API
33
"""
4-
__version__ = '0.2.0'
4+
__version__ = '0.3.0'
55
__author__ = 'Fábio Macêdo Mendes'
66

7-
# We put all
7+
# Ugly hack to make it possible to store __version__ directly on __init__.py
88
try:
99
from .core import Element, Text, Block
1010
from .html import html, render
@@ -25,6 +25,6 @@
2525
from .utils import escape, unescape, safe, sanitize
2626
from .fragment import fragment
2727
from .helpers import classes
28-
except Exception as exc:
28+
except ImportError as exc:
2929
print('Caught exception:', exc)
3030
print('This is expected during installation.')

0 commit comments

Comments
 (0)