summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@users.noreply.github.com>2018-12-22 12:07:21 -0600
committerGitHub <noreply@github.com>2018-12-22 12:07:21 -0600
commit59dfd314c23fd653271bdad37631f0497e8ad748 (patch)
tree569e7c524a8f107c6d834e88db0a6b100c554ae8
parent59114a84117b20a0b19d1c71bfbb107a42ef1d03 (diff)
parentb0310f8d52f8cb25ce3990e8130e1ed0250f20c1 (diff)
downloadpyparsing-git-59dfd314c23fd653271bdad37631f0497e8ad748.tar.gz
Merge pull request #54 from jdufresne/unused-import
Remove distutils fallback and outdated comment
-rw-r--r--CHANGES3
-rw-r--r--setup.py13
2 files changed, 5 insertions, 11 deletions
diff --git a/CHANGES b/CHANGES
index 1cd7263..ec877d8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -26,6 +26,9 @@ Version 2.3.1 -
for running tests that do additional validation or processing on the parsed
results.
+- Removed distutils fallback in setup.py. If installing the package fails,
+ please update to the latest version of setuptools.
+
Version 2.3.0 - October, 2018
-----------------------------
diff --git a/setup.py b/setup.py
index 5e5c69a..89ad68b 100644
--- a/setup.py
+++ b/setup.py
@@ -2,18 +2,9 @@
"""Setup script for the pyparsing module distribution."""
-# 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
-
-import sys
-import os
-
+from setuptools import setup
from pyparsing import __version__ as pyparsing_version
-
+
modules = ["pyparsing",]
setup(# Distribution meta-data