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 :)
pull/17/head 0.8.3
J. Fernando Sánchez 7 years ago
parent 2288b04c92
commit efb305173e

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

@ -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

Loading…
Cancel
Save