1try: 2 from setuptools import setup 3except ImportError: 4 from distutils.core import setup 5 6setup(name = "ply", 7 description="Python Lex & Yacc", 8 long_description = """ 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. 12 13PLY provides most of the standard lex/yacc features including support for empty 14productions, precedence rules, error recovery, and support for ambiguous grammars. 15 16PLY is extremely easy to use and provides very extensive error checking. 17It is compatible with both Python 2 and Python 3. 18""", 19 license="""BSD""", 20 version = "3.11", 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 ) 32