Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 1 | import lit |
Daniel Dunbar | 13e26da | 2013-08-13 19:08:48 +0000 | [diff] [blame] | 2 | import os |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 3 | |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 4 | from setuptools import setup, find_packages |
Daniel Dunbar | 13e26da | 2013-08-13 19:08:48 +0000 | [diff] [blame] | 5 | |
| 6 | # setuptools expects to be invoked from within the directory of setup.py, but it |
| 7 | # is nice to allow: |
| 8 | # python path/to/setup.py install |
| 9 | # to work (for scripts, etc.) |
| 10 | os.chdir(os.path.dirname(os.path.abspath(__file__))) |
| 11 | |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 12 | setup( |
Daniel Dunbar | bd26ba0 | 2010-09-18 02:28:12 +0000 | [diff] [blame] | 13 | name = "lit", |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 14 | version = lit.__version__, |
| 15 | |
| 16 | author = lit.__author__, |
| 17 | author_email = lit.__email__, |
| 18 | url = 'http://llvm.org', |
| 19 | license = 'BSD', |
| 20 | |
| 21 | description = "A Software Testing Tool", |
| 22 | keywords = 'test C++ automatic discovery', |
| 23 | long_description = """\ |
Daniel Dunbar | bd26ba0 | 2010-09-18 02:28:12 +0000 | [diff] [blame] | 24 | *lit* |
| 25 | +++++ |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 26 | |
| 27 | About |
| 28 | ===== |
| 29 | |
Daniel Dunbar | bd26ba0 | 2010-09-18 02:28:12 +0000 | [diff] [blame] | 30 | *lit* is a portable tool for executing LLVM and Clang style test suites, |
| 31 | summarizing their results, and providing indication of failures. *lit* is |
| 32 | designed to be a lightweight testing tool with as simple a user interface as |
| 33 | possible. |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 34 | |
| 35 | |
| 36 | Features |
| 37 | ======== |
| 38 | |
| 39 | * Portable! |
| 40 | * Flexible test discovery. |
| 41 | * Parallel test execution. |
| 42 | * Support for multiple test formats and test suite designs. |
| 43 | |
| 44 | |
| 45 | Documentation |
| 46 | ============= |
| 47 | |
Chris Lattner | 7a2bdde | 2011-04-15 05:18:47 +0000 | [diff] [blame] | 48 | The official *lit* documentation is in the man page, available online at the LLVM |
Daniel Dunbar | bd26ba0 | 2010-09-18 02:28:12 +0000 | [diff] [blame] | 49 | Command Guide: http://llvm.org/cmds/lit.html. |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 50 | |
| 51 | |
| 52 | Source |
| 53 | ====== |
| 54 | |
Daniel Dunbar | bd26ba0 | 2010-09-18 02:28:12 +0000 | [diff] [blame] | 55 | The *lit* source is available as part of LLVM, in the LLVM SVN repository: |
| 56 | http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit. |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 57 | """, |
| 58 | |
| 59 | classifiers=[ |
| 60 | 'Development Status :: 3 - Alpha', |
| 61 | 'Environment :: Console', |
| 62 | 'Intended Audience :: Developers', |
| 63 | 'License :: OSI Approved :: University of Illinois/NCSA Open Source License', |
| 64 | 'Natural Language :: English', |
| 65 | 'Operating System :: OS Independent', |
Daniel Dunbar | bd26ba0 | 2010-09-18 02:28:12 +0000 | [diff] [blame] | 66 | 'Programming Language :: Python', |
Daniel Dunbar | 9ac75ca | 2009-12-26 22:58:39 +0000 | [diff] [blame] | 67 | 'Topic :: Software Development :: Testing', |
| 68 | ], |
| 69 | |
| 70 | zip_safe = False, |
| 71 | packages = find_packages(), |
| 72 | entry_points = { |
| 73 | 'console_scripts': [ |
| 74 | 'lit = lit:main', |
| 75 | ], |
| 76 | } |
| 77 | ) |