summaryrefslogtreecommitdiff
blob: 6fa4a30d92ad9812b3ade7a406a298e01481f1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Force distutils to be used instead of falling back to it after trying
setuptools in order to avoid bootstrap issues.

--- pyparsing-2.2.0/setup.py
+++ pyparsing-2.2.0/setup.py
@@ -4,10 +4,7 @@
 
 # Setuptools depends on pyparsing (via packaging) as of version 34, so allow
 # installing without it to avoid bootstrap problems.
-try:
-    from setuptools import setup
-except ImportError:
-    from distutils.core import setup
+from distutils.core import setup
 
 import sys
 import os