setup.py 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. import lit
  2. import os
  3. from setuptools import setup, find_packages
  4. # setuptools expects to be invoked from within the directory of setup.py, but it
  5. # is nice to allow:
  6. # python path/to/setup.py install
  7. # to work (for scripts, etc.)
  8. os.chdir(os.path.dirname(os.path.abspath(__file__)))
  9. setup(
  10. name = "lit",
  11. version = lit.__version__,
  12. author = lit.__author__,
  13. author_email = lit.__email__,
  14. url = 'http://llvm.org',
  15. license = 'Apache-2.0 with LLVM exception',
  16. description = "A Software Testing Tool",
  17. keywords = 'test C++ automatic discovery',
  18. long_description = """\
  19. *lit*
  20. +++++
  21. About
  22. =====
  23. *lit* is a portable tool for executing LLVM and Clang style test suites,
  24. summarizing their results, and providing indication of failures. *lit* is
  25. designed to be a lightweight testing tool with as simple a user interface as
  26. possible.
  27. Features
  28. ========
  29. * Portable!
  30. * Flexible test discovery.
  31. * Parallel test execution.
  32. * Support for multiple test formats and test suite designs.
  33. Documentation
  34. =============
  35. The official *lit* documentation is in the man page, available online at the LLVM
  36. Command Guide: http://llvm.org/cmds/lit.html.
  37. Source
  38. ======
  39. The *lit* source is available as part of LLVM, in the LLVM source repository:
  40. https://github.com/llvm/llvm-project/tree/master/llvm/utils/lit
  41. """,
  42. classifiers=[
  43. 'Development Status :: 3 - Alpha',
  44. 'Environment :: Console',
  45. 'Intended Audience :: Developers',
  46. 'License :: OSI Approved :: Apache Software License',
  47. 'Natural Language :: English',
  48. 'Operating System :: OS Independent',
  49. 'Programming Language :: Python',
  50. 'Topic :: Software Development :: Testing',
  51. ],
  52. zip_safe = False,
  53. packages = find_packages(),
  54. entry_points = {
  55. 'console_scripts': [
  56. 'lit = lit:main',
  57. ],
  58. }
  59. )