Make this a python3-only thing
no sense in giving ourselves a headache
This commit is contained in:
parent
e6be11d54e
commit
1e4677e3c6
|
@ -24,6 +24,4 @@
|
||||||
Dash App Interface
|
Dash App Interface
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
from ._version import __version__
|
from ._version import __version__
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# -*- coding: utf-8; -*-
|
# -*- coding: utf-8; -*-
|
||||||
|
|
||||||
__version__ = u'0.1.0'
|
__version__ = '0.1.0'
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
Rattail Commands
|
Rattail Commands
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
from rattail import commands
|
from rattail import commands
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,11 +24,8 @@
|
||||||
Dash App "Base"
|
Dash App "Base"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import six
|
|
||||||
import dash
|
import dash
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
|
@ -78,7 +75,7 @@ def make_trainwreck_dataframe(config, date):
|
||||||
ORDER BY end_time, terminal_id
|
ORDER BY end_time, terminal_id
|
||||||
""",
|
""",
|
||||||
trainwreck_engine,
|
trainwreck_engine,
|
||||||
params={'timezone': six.text_type(app.get_timezone()),
|
params={'timezone': str(app.get_timezone()),
|
||||||
'start_time': start_time,
|
'start_time': start_time,
|
||||||
'end_time': end_time})
|
'end_time': end_time})
|
||||||
|
|
||||||
|
|
|
@ -24,14 +24,8 @@
|
||||||
Sample Dash App
|
Sample Dash App
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
try:
|
from dash import dcc, html
|
||||||
from dash import dcc, html
|
|
||||||
except ImportError:
|
|
||||||
import dash_core_components as dcc
|
|
||||||
import dash_html_components as html
|
|
||||||
from dash.dependencies import Input, Output
|
from dash.dependencies import Input, Output
|
||||||
import plotly.express as px
|
import plotly.express as px
|
||||||
|
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -21,8 +21,6 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
from __future__ import unicode_literals, absolute_import
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
@ -88,7 +86,6 @@ setup(
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
'Programming Language :: Python :: 2.7',
|
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Topic :: Office/Business',
|
'Topic :: Office/Business',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
|
|
Loading…
Reference in a new issue