Skip to content

Commit 1acf52d

Browse files
committed
Actually import setup, even without setuptools (fixes andialbrecht#115).
1 parent c08c750 commit 1acf52d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Development Version
44
Bug Fixes
55
* Removed buffered reading again, it obviously causes wrong parsing in some rare
66
cases (issue114).
7+
* Fix regression in setup.py introduced 10 months ago (issue115).
78

89
Enhancements
910
* Improved support for JOINs, by Alexander Beedie.

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
except ImportError:
1313
if sys.version_info[0] == 3:
1414
raise RuntimeError('distribute is required to install this package.')
15+
from distutils.core import setup
1516
packages = ['sqlparse', 'sqlparse.engine']
1617

1718

0 commit comments

Comments
 (0)