-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from ChristianTremblay/develop
Develop
- Loading branch information
Showing
140 changed files
with
25,096 additions
and
2,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
#!/usr/bin/python | ||
# -*- coding: utf-8 -*- | ||
|
||
try: | ||
from . import core | ||
from . import tasks | ||
from .scripts.BasicScript import BasicScript | ||
from .scripts.ReadWriteScript import ReadWriteScript as connect | ||
from .scripts.Base import Base | ||
from .core.devices.Device import Device as device | ||
from .core.devices.Device import DeviceLoad as load | ||
from .tasks.Poll import SimplePoll as poll | ||
from .tasks.Match import Match as match | ||
from .bokeh.BokehRenderer import BokehPlot as chart | ||
from .core.utils.notes import update_log_level as log_level | ||
from .infos import __version__ as version | ||
except ImportError as error: | ||
print(error) | ||
# Not installed yet | ||
|
||
# To be able to use the complete version pandas, flask and bokeh must be installed. | ||
try: | ||
import pandas | ||
import bokeh | ||
import flask | ||
_COMPLETE = True | ||
except ImportError: | ||
_COMPLETE = False | ||
|
||
if _COMPLETE: | ||
from .scripts.Complete import Complete as connect | ||
from .scripts.Lite import Lite as lite | ||
else: | ||
from .scripts.Lite import Lite as connect | ||
|
||
except ImportError: | ||
pass # Probably installing the app... |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.