7267
|
1 try:
|
|
2 from setuptools import setup
|
|
3 except ImportError:
|
|
4 from distutils.core import setup
|
|
5
|
|
6 setup(name = "ply",
|
|
7 description="Python Lex & Yacc",
|
|
8 long_description = """
|
|
9 PLY is yet another implementation of lex and yacc for Python. Some notable
|
|
10 features include the fact that its implemented entirely in Python and it
|
|
11 uses LALR(1) parsing which is efficient and well suited for larger grammars.
|
|
12
|
|
13 PLY provides most of the standard lex/yacc features including support for empty
|
|
14 productions, precedence rules, error recovery, and support for ambiguous grammars.
|
|
15
|
|
16 PLY is extremely easy to use and provides very extensive error checking.
|
|
17 It is compatible with both Python 2 and Python 3.
|
|
18 """,
|
|
19 license="""BSD""",
|
|
20 version = "3.8",
|
|
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 classifiers = [
|
|
28 'Programming Language :: Python :: 3',
|
|
29 'Programming Language :: Python :: 2',
|
|
30 ]
|
|
31 )
|