diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-12-22 12:07:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-22 12:07:21 -0600 |
commit | 59dfd314c23fd653271bdad37631f0497e8ad748 (patch) | |
tree | 569e7c524a8f107c6d834e88db0a6b100c554ae8 | |
parent | 59114a84117b20a0b19d1c71bfbb107a42ef1d03 (diff) | |
parent | b0310f8d52f8cb25ce3990e8130e1ed0250f20c1 (diff) | |
download | pyparsing-git-59dfd314c23fd653271bdad37631f0497e8ad748.tar.gz |
Merge pull request #54 from jdufresne/unused-import
Remove distutils fallback and outdated comment
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | setup.py | 13 |
2 files changed, 5 insertions, 11 deletions
@@ -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 ----------------------------- @@ -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
|