|
1 | | -#!/usr/bin/env python |
2 | | - |
3 | | -# pyRiveScript - A RiveScript interpreter written in Python. |
4 | | - |
5 | | -# The MIT License (MIT) |
6 | | -# |
7 | | -# Copyright (c) 2016 Noah Petherbridge |
8 | | -# |
9 | | -# Permission is hereby granted, free of charge, to any person obtaining a copy |
10 | | -# of this software and associated documentation files (the "Software"), to deal |
11 | | -# in the Software without restriction, including without limitation the rights |
12 | | -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
13 | | -# copies of the Software, and to permit persons to whom the Software is |
14 | | -# furnished to do so, subject to the following conditions: |
| 1 | +# RiveScript-Python |
15 | 2 | # |
16 | | -# The above copyright notice and this permission notice shall be included in all |
17 | | -# copies or substantial portions of the Software. |
| 3 | +# This code is released under the MIT License. |
| 4 | +# See the "LICENSE" file for more information. |
18 | 5 | # |
19 | | -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
20 | | -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
21 | | -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
22 | | -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
23 | | -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
24 | | -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
25 | | -# SOFTWARE. |
| 6 | +# https://www.rivescript.com/ |
26 | 7 |
|
27 | 8 | # Python 3 compat |
28 | 9 | from __future__ import print_function, unicode_literals |
|
39 | 20 | __docformat__ = 'plaintext' |
40 | 21 |
|
41 | 22 | __all__ = ['rivescript'] |
42 | | -__version__ = '1.12.3' |
| 23 | +__version__ = '1.12.4' |
43 | 24 |
|
44 | | -from .rivescript import RiveScript, RiveScriptError, NoMatchError, NoReplyError,\ |
45 | | - ObjectError, DeepRecursionError, NoDefaultRandomTopicError, RepliesNotSortedError |
| 25 | +from .rivescript import RiveScript |
| 26 | +from .exceptions import ( |
| 27 | + RiveScriptError, NoMatchError, NoReplyError, ObjectError, |
| 28 | + DeepRecursionError, NoDefaultRandomTopicError, RepliesNotSortedError |
| 29 | +) |
0 commit comments