From 1acf52dc96f595d972375c0f2a185a668929a211 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Thu, 24 Oct 2013 21:22:32 +0200 Subject: [PATCH] Actually import setup, even without setuptools (fixes #115). --- CHANGES | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index ffb8079e..1b6a0f59 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,7 @@ Development Version Bug Fixes * Removed buffered reading again, it obviously causes wrong parsing in some rare cases (issue114). +* Fix regression in setup.py introduced 10 months ago (issue115). Enhancements * Improved support for JOINs, by Alexander Beedie. diff --git a/setup.py b/setup.py index ef8e30cb..2c6dce8d 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ except ImportError: if sys.version_info[0] == 3: raise RuntimeError('distribute is required to install this package.') + from distutils.core import setup packages = ['sqlparse', 'sqlparse.engine']