19 lines
491 B
Diff
19 lines
491 B
Diff
--- a/setup.py 2020-03-30 02:51:27.000000000 +0200
|
|
+++ b/setup.py 2024-11-10 04:28:38.030413040 +0100
|
|
@@ -2,10 +2,14 @@
|
|
|
|
"""Setup script for the pyparsing module distribution."""
|
|
|
|
-from setuptools import setup
|
|
from pyparsing import __version__ as pyparsing_version
|
|
from io import open
|
|
|
|
+try:
|
|
+ from setuptools import setup
|
|
+except ImportError:
|
|
+ from distutils.core import setup
|
|
+
|
|
# The directory containing this file
|
|
README_name = __file__.replace("setup.py", "README.rst")
|
|
|