1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-09-17 03:52:22 +00:00

Compare commits

..

1 Commits
0.8.2 ... 0.8.3

Author SHA1 Message Date
J. Fernando Sánchez
efb305173e Removed future from __init__
Since __init__ is imported by setup.py, future may not be installed yet.

Other options would be:

* Read VERSION -> and that code has to be duplicated in setup.py and
  senpy (to avoid the import, once again)
* Eval version.py
* Do without versioning :)
2017-03-01 18:28:20 +01:00
2 changed files with 2 additions and 3 deletions

View File

@@ -17,9 +17,6 @@
"""
Sentiment analysis server in Python
"""
from future import standard_library
standard_library.install_aliases()
from .version import __version__
import logging

View File

@@ -2,6 +2,8 @@
Main class for Senpy.
It orchestrates plugin (de)activation and analysis.
"""
from future import standard_library
standard_library.install_aliases()
from .plugins import SentimentPlugin, SenpyPlugin
from .models import Error, Entry, Results