From 7dab726222d9d10f8ba92406528004602b32609a Mon Sep 17 00:00:00 2001 From: Peter Siemens Date: Thu, 23 Aug 2018 22:46:00 -0700 Subject: [PATCH] Version 0.5.7 --- dispatch/__init__.py | 2 +- dispatch/core/storage.py | 5 +++-- dispatch/static/manager/package.json | 2 +- setup.py | 4 +--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dispatch/__init__.py b/dispatch/__init__.py index 8701e4d9f..22e3a8305 100644 --- a/dispatch/__init__.py +++ b/dispatch/__init__.py @@ -1 +1 @@ -__version__ = '0.5.6' +__version__ = '0.5.7' diff --git a/dispatch/core/storage.py b/dispatch/core/storage.py index 6567bacd2..2baf9df8f 100644 --- a/dispatch/core/storage.py +++ b/dispatch/core/storage.py @@ -1,11 +1,12 @@ import time import os -from google.cloud import storage - from django.conf import settings def generate_signed_url(path, content_type, expires_after_seconds=60): + + from google.cloud import storage + obj = os.path.join(settings.GS_LOCATION, path) client = storage.Client() diff --git a/dispatch/static/manager/package.json b/dispatch/static/manager/package.json index cfa0fb494..2d977e0fb 100644 --- a/dispatch/static/manager/package.json +++ b/dispatch/static/manager/package.json @@ -1,6 +1,6 @@ { "name": "dispatch", - "version": "0.5.6", + "version": "0.5.7", "description": "The frontend framework for the Dispatch publishing platform.", "author": "Peter Siemens ", "homepage": "https://www.ubyssey.ca", diff --git a/setup.py b/setup.py index 842e65924..4056229fc 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='dispatch', - version='0.5.6', + version='0.5.7', description='A publishing platform for modern newspapers', url='https://github.com/ubyssey/dispatch', author='Peter Siemens', @@ -16,8 +16,6 @@ 'pillow', 'requests', 'jsonfield', - 'google-cloud-storage', - 'google-cloud-datastore', ], extras_require={ 'dev': [