mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 16:12:29 +00:00
9f6a6f5ecd
* Added conversion plugins (API might change!) * Added conversion to the analysis pipeline * Changed behaviour of --default-plugins (it adds conversion plugins regardless) * Added emotionModel [sic] and emotionConversion models //TODO add conversion tests //TODO add conversion to docs
16 lines
284 B
Python
16 lines
284 B
Python
import os
|
|
import logging
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
ROOT = os.path.dirname(__file__)
|
|
DEFAULT_FILE = os.path.join(ROOT, 'VERSION')
|
|
|
|
|
|
def read_version(versionfile=DEFAULT_FILE):
|
|
with open(versionfile) as f:
|
|
return f.read().strip()
|
|
|
|
|
|
__version__ = read_version()
|