setup.py (4479:61d3ed46e373) setup.py (6498:e21e9ab5fad0)
1from distutils.core import setup
1try:
2 from setuptools import setup
3except ImportError:
4 from distutils.core import setup
2
3setup(name = "ply",
4 description="Python Lex & Yacc",
5 long_description = """
5
6setup(name = "ply",
7 description="Python Lex & Yacc",
8 long_description = """
6PLY is yet another implementation of lex and yacc for Python. Although several other
7parsing tools are available for Python, there are several reasons why you might
8want to take a look at PLY:
9PLY is yet another implementation of lex and yacc for Python. Some notable
10features include the fact that its implemented entirely in Python and it
11uses LALR(1) parsing which is efficient and well suited for larger grammars.
9
12
10It's implemented entirely in Python.
13PLY provides most of the standard lex/yacc features including support for empty
14productions, precedence rules, error recovery, and support for ambiguous grammars.
11
15
12It uses LR-parsing which is reasonably efficient and well suited for larger grammars.
13
14PLY provides most of the standard lex/yacc features including support for empty
15productions, precedence rules, error recovery, and support for ambiguous grammars.
16
17PLY is extremely easy to use and provides very extensive error checking.
16PLY is extremely easy to use and provides very extensive error checking.
18""",
17""",
19 license="""Lesser GPL (LGPL)""",
20 version = "2.3",
18 license="""BSD""",
19 version = "3.2",
21 author = "David Beazley",
22 author_email = "dave@dabeaz.com",
23 maintainer = "David Beazley",
24 maintainer_email = "dave@dabeaz.com",
25 url = "http://www.dabeaz.com/ply/",
26 packages = ['ply'],
27 )
20 author = "David Beazley",
21 author_email = "dave@dabeaz.com",
22 maintainer = "David Beazley",
23 maintainer_email = "dave@dabeaz.com",
24 url = "http://www.dabeaz.com/ply/",
25 packages = ['ply'],
26 )