1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 08:12:27 +00:00

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 :)
This commit is contained in:
J. Fernando Sánchez 2017-03-01 18:28:20 +01:00
parent 2288b04c92
commit efb305173e
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