From 84d9de2388f6840c9c1340d28e2647d32907fd37 Mon Sep 17 00:00:00 2001 From: Mihnea Dobrescu-Balaur Date: Sat, 21 May 2016 20:14:37 -0700 Subject: [PATCH] Include static files. --- MANIFEST.in | 1 + execution_trace/viewer/viewer.py | 1 - setup.py | 4 +++- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..6a0a478 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include execution_trace *.html *.js *.css diff --git a/execution_trace/viewer/viewer.py b/execution_trace/viewer/viewer.py index b6012af..a9452af 100644 --- a/execution_trace/viewer/viewer.py +++ b/execution_trace/viewer/viewer.py @@ -11,7 +11,6 @@ app = Flask(__name__) viewer_root = os.path.abspath(os.path.dirname(__file__)) - # `main` inits these. # File containing `record` output. record_path = None diff --git a/setup.py b/setup.py index 60a872f..82b1f34 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,9 @@ author='Mihnea Dobrescu-Balaur', author_email='mihnea@linux.com', license='MIT', - packages=['execution_trace'], + packages=['execution_trace', + 'execution_trace.viewer'], + include_package_data=True, install_requires=[ 'voluptuous==0.8.10', 'Flask==0.10.1',