This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

63 rindas
1.9 KiB

  1. import re
  2. from setuptools import setup
  3. __version__ ,= re.findall('__version__ = "(.*)"', open('lark/__init__.py').read())
  4. setup(
  5. name = "lark-parser",
  6. version = __version__,
  7. packages = ['lark', 'lark.parsers', 'lark.tools', 'lark.grammars'],
  8. requires = [],
  9. install_requires = [],
  10. package_data = { '': ['*.md', '*.g'] },
  11. test_suite = 'tests.__main__',
  12. # metadata for upload to PyPI
  13. author = "Erez Shinan",
  14. author_email = "erezshin@gmail.com",
  15. description = "a modern parsing library",
  16. license = "MIT",
  17. keywords = "Earley LALR parser parsing ast",
  18. url = "https://github.com/erezsh/lark",
  19. download_url = "https://github.com/erezsh/lark/tarball/master",
  20. long_description='''
  21. Lark is a modern general-purpose parsing library for Python.
  22. With Lark, you can parse any context-free grammar, efficiently, with very little code.
  23. Main Features:
  24. - Builds a parse-tree (AST) automagically, based on the structure of the grammar
  25. - Earley parser
  26. - Can parse all context-free grammars
  27. - Full support for ambiguous grammars
  28. - LALR(1) parser
  29. - Fast and light, competitive with PLY
  30. - Can generate a stand-alone parser
  31. - CYK parser, for highly ambiguous grammars
  32. - EBNF grammar
  33. - Unicode fully supported
  34. - Python 2 & 3 compatible
  35. - Automatic line & column tracking
  36. - Standard library of terminals (strings, numbers, names, etc.)
  37. - Import grammars from Nearley.js
  38. - Extensive test suite
  39. - And much more!
  40. ''',
  41. classifiers=[
  42. "Development Status :: 5 - Production/Stable",
  43. "Intended Audience :: Developers",
  44. "Programming Language :: Python :: 2.7",
  45. "Programming Language :: Python :: 3",
  46. "Topic :: Software Development :: Libraries :: Python Modules",
  47. "Topic :: Text Processing :: General",
  48. "Topic :: Text Processing :: Linguistic",
  49. "License :: OSI Approved :: MIT License",
  50. ],
  51. )