blob: 10de6bb4ee79b62123fa27c7de57b24963a5da2a [file] [log] [blame]
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +00001import lit
Daniel Dunbar13e26da2013-08-13 19:08:48 +00002import os
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +00003
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +00004from setuptools import setup, find_packages
Daniel Dunbar13e26da2013-08-13 19:08:48 +00005
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.)
10os.chdir(os.path.dirname(os.path.abspath(__file__)))
11
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000012setup(
Daniel Dunbarbd26ba02010-09-18 02:28:12 +000013 name = "lit",
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000014 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 Dunbarbd26ba02010-09-18 02:28:12 +000024*lit*
25+++++
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000026
27About
28=====
29
Daniel Dunbarbd26ba02010-09-18 02:28:12 +000030*lit* is a portable tool for executing LLVM and Clang style test suites,
31summarizing their results, and providing indication of failures. *lit* is
32designed to be a lightweight testing tool with as simple a user interface as
33possible.
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000034
35
36Features
37========
38
39 * Portable!
40 * Flexible test discovery.
41 * Parallel test execution.
42 * Support for multiple test formats and test suite designs.
43
44
45Documentation
46=============
47
Chris Lattner7a2bdde2011-04-15 05:18:47 +000048The official *lit* documentation is in the man page, available online at the LLVM
Daniel Dunbarbd26ba02010-09-18 02:28:12 +000049Command Guide: http://llvm.org/cmds/lit.html.
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000050
51
52Source
53======
54
Daniel Dunbarbd26ba02010-09-18 02:28:12 +000055The *lit* source is available as part of LLVM, in the LLVM SVN repository:
56http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit.
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000057""",
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 Dunbarbd26ba02010-09-18 02:28:12 +000066 'Programming Language :: Python',
Daniel Dunbar9ac75ca2009-12-26 22:58:39 +000067 '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)