Skip to content

Commit

Permalink
#653: added "__version__" entry to dtale module
Browse files Browse the repository at this point in the history
  • Loading branch information
aschonfeld committed Mar 31, 2022
1 parent 06261bd commit f63796f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dtale/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# flake8: NOQA
from dtale.app import show, get_instance, instances, offline_chart # isort:skip
from dtale.cli.loaders import LOADERS # isort:skip
from dtale.cli.clickutils import retrieve_meta_info_and_version
from dtale.global_state import update_id # isort:skip

ALLOW_CELL_EDITS = True
Expand All @@ -18,3 +19,6 @@
for loader_name, loader in LOADERS.items():
if hasattr(loader, "show_loader"):
globals()["show_{}".format(loader_name)] = loader.show_loader


__version__ = retrieve_meta_info_and_version("dtale")[1]
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
lz4<=2.2.1; python_version < '3.0'
lz4; python_version > '3.0'
click==8.0.4; python_version >= '3.7'
cycler; python_version > '3.0'
cycler==0.10.0; python_version == '2.7'
dash==1.21.0; python_version == '2.7'
Expand All @@ -12,7 +13,7 @@ decorator==4.4.2; python_version == '2.7'
et_xmlfile<=1.0.1; python_version < '3.6'
et_xmlfile; python_version >= '3.6'
Flask<=1.1.4; python_version < '3.7'
Flask; python_version >= '3.7'
Flask<=2.0.3; python_version >= '3.7'
Flask-Compress
flask-ngrok; python_version > '3.0'
future>=0.14.0
Expand Down

0 comments on commit f63796f

Please sign in to comment.