[lit] Report the traceback when config import fails.
[oota-llvm.git] / utils / lit / setup.py
1 import lit
2
3 # FIXME: Support distutils?
4 from setuptools import setup, find_packages
5 setup(
6     name = "lit",
7     version = lit.__version__,
8
9     author = lit.__author__,
10     author_email = lit.__email__,
11     url = 'http://llvm.org',
12     license = 'BSD',
13
14     description = "A Software Testing Tool",
15     keywords = 'test C++ automatic discovery',
16     long_description = """\
17 *lit*
18 +++++
19
20 About
21 =====
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
28
29 Features
30 ========
31
32  * Portable!
33  * Flexible test discovery.
34  * Parallel test execution.
35  * Support for multiple test formats and test suite designs.
36
37
38 Documentation
39 =============
40
41 The official *lit* documentation is in the man page, available online at the LLVM
42 Command Guide: http://llvm.org/cmds/lit.html.
43
44
45 Source
46 ======
47
48 The *lit* source is available as part of LLVM, in the LLVM SVN repository:
49 http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit.
50 """,
51
52     classifiers=[
53         'Development Status :: 3 - Alpha',
54         'Environment :: Console',
55         'Intended Audience :: Developers',
56         'License :: OSI Approved :: University of Illinois/NCSA Open Source License',
57         'Natural Language :: English',
58         'Operating System :: OS Independent',
59         'Programming Language :: Python',
60         'Topic :: Software Development :: Testing',
61         ],
62
63     zip_safe = False,
64     packages = find_packages(),
65     entry_points = {
66         'console_scripts': [
67             'lit = lit:main',
68             ],
69         }
70 )