diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a98ff23c..ca05be2b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,7 @@ This document describes changes between each past release. - Changed default duration between retries on error (``Retry-After`` header) from 30 to 3 seconds. - Allow buckets to store arbitrary properties. (#462) +- Speed-up startup (ref #490) 1.11.2 (2016-02-03) diff --git a/kinto/__main__.py b/kinto/__main__.py index 6d84805e..b6141a10 100644 --- a/kinto/__main__.py +++ b/kinto/__main__.py @@ -3,7 +3,6 @@ import os import sys -import pip from six.moves import input from cliquet.scripts import cliquet from pyramid.scripts import pserve @@ -76,6 +75,7 @@ def main(args=None): try: import psycopg2 # NOQA except ImportError: + import pip pip.main(['install', "cliquet[postgresql]"]) elif args['which'] == 'migrate':