summaryrefslogtreecommitdiff
path: root/ext/ply/setup.py
diff options
context:
space:
mode:
authorPolina Dudnik <pdudnik@gmail.com>2009-08-17 11:33:32 -0500
committerPolina Dudnik <pdudnik@gmail.com>2009-08-17 11:33:32 -0500
commitc438b2e431066d9324238e1c678ef68a3b721f33 (patch)
treeb79e72b3074441ce01d5c95207f96f71d16bed35 /ext/ply/setup.py
parent6654fe02daf6285cb43aa1c6e0e35f6c9c8786f1 (diff)
parenta43ae579dd3128a0ced2238532f26d99db197361 (diff)
downloadgem5-c438b2e431066d9324238e1c678ef68a3b721f33.tar.xz
Branch Merge
Diffstat (limited to 'ext/ply/setup.py')
-rw-r--r--ext/ply/setup.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/ext/ply/setup.py b/ext/ply/setup.py
index f743ac78c..606b29cde 100644
--- a/ext/ply/setup.py
+++ b/ext/ply/setup.py
@@ -1,23 +1,22 @@
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
setup(name = "ply",
description="Python Lex & Yacc",
long_description = """
-PLY is yet another implementation of lex and yacc for Python. Although several other
-parsing tools are available for Python, there are several reasons why you might
-want to take a look at PLY:
+PLY is yet another implementation of lex and yacc for Python. Some notable
+features include the fact that its implemented entirely in Python and it
+uses LALR(1) parsing which is efficient and well suited for larger grammars.
-It's implemented entirely in Python.
+PLY provides most of the standard lex/yacc features including support for empty
+productions, precedence rules, error recovery, and support for ambiguous grammars.
-It uses LR-parsing which is reasonably efficient and well suited for larger grammars.
-
-PLY provides most of the standard lex/yacc features including support for empty
-productions, precedence rules, error recovery, and support for ambiguous grammars.
-
-PLY is extremely easy to use and provides very extensive error checking.
+PLY is extremely easy to use and provides very extensive error checking.
""",
- license="""Lesser GPL (LGPL)""",
- version = "2.3",
+ license="""BSD""",
+ version = "3.2",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",