Make this a python3-only thing

no sense in giving ourselves a headache
This commit is contained in:
Lance Edgar 2021-12-20 19:28:05 -06:00
parent e6be11d54e
commit 1e4677e3c6
6 changed files with 3 additions and 19 deletions

View file

@ -24,6 +24,4 @@
Dash App Interface
"""
from __future__ import unicode_literals, absolute_import
from ._version import __version__

View file

@ -1,3 +1,3 @@
# -*- coding: utf-8; -*-
__version__ = u'0.1.0'
__version__ = '0.1.0'

View file

@ -24,8 +24,6 @@
Rattail Commands
"""
from __future__ import unicode_literals, absolute_import
from rattail import commands

View file

@ -24,11 +24,8 @@
Dash App "Base"
"""
from __future__ import unicode_literals, absolute_import
import datetime
import six
import dash
import pandas as pd
@ -78,7 +75,7 @@ def make_trainwreck_dataframe(config, date):
ORDER BY end_time, terminal_id
""",
trainwreck_engine,
params={'timezone': six.text_type(app.get_timezone()),
params={'timezone': str(app.get_timezone()),
'start_time': start_time,
'end_time': end_time})

View file

@ -24,14 +24,8 @@
Sample Dash App
"""
from __future__ import unicode_literals, absolute_import
import pandas as pd
try:
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
import plotly.express as px

View file

@ -21,8 +21,6 @@
#
################################################################################
from __future__ import unicode_literals, absolute_import
import os
from setuptools import setup, find_packages
@ -88,7 +86,6 @@ setup(
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Office/Business',
'Topic :: Software Development :: Libraries :: Python Modules',