diff --git a/setup.py b/setup.py index e45f4292e1..ba3cc15bd6 100644 --- a/setup.py +++ b/setup.py @@ -18,10 +18,6 @@ sudo python setup.py install """ -import os.path -import sys -import time - from setuptools import find_packages from setuptools import setup try: # for pip >= 10 @@ -31,7 +27,7 @@ from pip.download import PipSession from pip.req import parse_requirements -timesketch_version = u'20180613' +timesketch_version = u'20181116' timesketch_description = ( u'Timesketch is a web based tool for collaborative forensic timeline ' @@ -39,36 +35,6 @@ u'timelines and analyze them all at the same time. Add meaning to ' u'your raw data with rich annotations, comments, tags and stars.') -def check_before_upload(): - """Warn user if frontend build is not present or is not recent. - - Make sure that .js and .css bundles included in the PyPI package are up to - date. - - Raises: - UserWarning - """ - this_dir = os.path.dirname(__file__) - frontend_dist_dir = os.path.join( - this_dir, 'timesketch', 'static', 'dist', - ) - js = os.path.join(frontend_dist_dir, 'bundle.js') - css = os.path.join(frontend_dist_dir, 'bundle.css') - if not (os.path.isfile(js) and os.path.isfile(css)): - raise UserWarning( - "Build the frontend before uploading to PyPI!" - + " (see docs/Developers-Guide.md)" - ) - mtime = min(os.path.getmtime(js), os.path.getmtime(css)) - if time.time() - mtime > 180: - raise UserWarning( - "Frontend build is older than 3 minutes, please rebuild!" - + " (see docs/Developers-Guide.md)" - ) - -if 'upload' in sys.argv: - check_before_upload() - setup( name=u'timesketch', version=timesketch_version, diff --git a/timesketch/static/dist/2980083682e94d33a66eef2e7d612519.svg b/timesketch/static/dist/2980083682e94d33a66eef2e7d612519.svg new file mode 100644 index 0000000000..1ee89d4368 --- /dev/null +++ b/timesketch/static/dist/2980083682e94d33a66eef2e7d612519.svg @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/timesketch/static/dist/706450d7bba6374ca02fe167d86685cb.ttf b/timesketch/static/dist/706450d7bba6374ca02fe167d86685cb.ttf new file mode 100644 index 0000000000..ed9372f8ea Binary files /dev/null and b/timesketch/static/dist/706450d7bba6374ca02fe167d86685cb.ttf differ diff --git a/timesketch/static/dist/97493d3f11c0a3bd5cbd959f5d19b699.woff2 b/timesketch/static/dist/97493d3f11c0a3bd5cbd959f5d19b699.woff2 new file mode 100644 index 0000000000..3311d58514 Binary files /dev/null and b/timesketch/static/dist/97493d3f11c0a3bd5cbd959f5d19b699.woff2 differ diff --git a/timesketch/static/dist/d9ee23d59d0e0e727b51368b458a0bff.woff b/timesketch/static/dist/d9ee23d59d0e0e727b51368b458a0bff.woff new file mode 100644 index 0000000000..8b280b98fa Binary files /dev/null and b/timesketch/static/dist/d9ee23d59d0e0e727b51368b458a0bff.woff differ diff --git a/timesketch/static/dist/f7c2b4b747b1a225eb8dee034134a1b0.eot b/timesketch/static/dist/f7c2b4b747b1a225eb8dee034134a1b0.eot new file mode 100644 index 0000000000..33b2bb8005 Binary files /dev/null and b/timesketch/static/dist/f7c2b4b747b1a225eb8dee034134a1b0.eot differ