Skip to content

Commit b510f54

Browse files
committed
add version info
1 parent c2ab6a6 commit b510f54

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

coolisf/__init__.py

+9-18
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@
33
'''
44
Python implementation of Integrated Semantic Framework
55
6-
`coolisf` is read `kul-eye-es-ef` officially (sometimes kul-is-f)
6+
`coolisf` is read `kul-eye-es-ef` officially
77
8-
Latest version can be found at https://github.com/letuananh/intsem.fx
9-
10-
References:
11-
@author: Le Tuan Anh <[email protected]>
12-
@license: MIT
138
'''
149

10+
# Latest version can be found at https://github.com/letuananh/intsem.fx
11+
#
1512
# Copyright (c) 2015, Le Tuan Anh <[email protected]>
1613
#
1714
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -32,21 +29,15 @@
3229
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3330
# THE SOFTWARE.
3431

35-
__author__ = "Le Tuan Anh <[email protected]>"
36-
__copyright__ = "Copyright 2015, intsem.fx"
37-
__credits__ = []
38-
__license__ = "MIT License"
39-
__version__ = "0.2.1"
40-
__maintainer__ = "Le Tuan Anh"
41-
__email__ = "<[email protected]>"
42-
__status__ = "Prototype"
43-
__description__ = "Integrated Semantic Framework - Python implementation"
44-
__url__ = "https://github.com/letuananh/intsem.fx"
45-
4632
########################################################################
4733

34+
from .__version__ import __author__, __email__, __copyright__, __maintainer__
35+
from .__version__ import __credits__, __license__, __description__, __url__
36+
from .__version__ import __version_major__, __version_long__, __version__, __status__
37+
4838
from .lexsem import Lexsem, tag_gold
4939
from .ghub import GrammarHub
5040
from .config import read_config
5141

52-
__all__ = ['GrammarHub', 'Lexsem', 'tag_gold', 'read_config']
42+
__all__ = ['GrammarHub', 'Lexsem', 'tag_gold', 'read_config',
43+
"__version__", "__author__", "__description__", "__copyright__"]

coolisf/__version__.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# This code is a part of coolisf library: https://github.com/letuananh/intsem.fx
4+
# :copyright: (c) 2014 Le Tuan Anh <[email protected]>
5+
# :license: MIT, see LICENSE for more details.
6+
7+
__author__ = "Le Tuan Anh"
8+
__email__ = "[email protected]"
9+
__copyright__ = "Copyright (c) 2014, Le Tuan Anh <[email protected]>"
10+
__credits__ = []
11+
__license__ = "MIT License"
12+
__description__ = "a Python package for providing computational deep semantic analysis by combining structural semantics from construction grammars and ontology-based lexical semantics in a single representation"
13+
__url__ = "https://github.com/letuananh/intsem.fx/"
14+
__issue__ = "https://github.com/letuananh/intsem.fx/"
15+
__maintainer__ = "Le Tuan Anh"
16+
__version_major__ = "0.2.3" # follow PEP-0440
17+
__version__ = "{}beta".format(__version_major__)
18+
__version_long__ = "{} - Beta".format(__version_major__)
19+
__status__ = "Prototype"

0 commit comments

Comments
 (0)