gn build: Merge r372706
[llvm-complete.git] / utils / lit / setup.py
blob9d26b2ed71c736e84ae9201ffa36d2e502f309c7
1 import lit
2 import os
4 from setuptools import setup, find_packages
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__)))
12 setup(
13 name = "lit",
14 version = lit.__version__,
16 author = lit.__author__,
17 author_email = lit.__email__,
18 url = 'http://llvm.org',
19 license = 'Apache-2.0 with LLVM exception',
21 description = "A Software Testing Tool",
22 keywords = 'test C++ automatic discovery',
23 long_description = """\
24 *lit*
25 +++++
27 About
28 =====
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.
36 Features
37 ========
39 * Portable!
40 * Flexible test discovery.
41 * Parallel test execution.
42 * Support for multiple test formats and test suite designs.
45 Documentation
46 =============
48 The official *lit* documentation is in the man page, available online at the LLVM
49 Command Guide: http://llvm.org/cmds/lit.html.
52 Source
53 ======
55 The *lit* source is available as part of LLVM, in the LLVM source repository:
56 https://github.com/llvm/llvm-project/tree/master/llvm/utils/lit
57 """,
59 classifiers=[
60 'Development Status :: 3 - Alpha',
61 'Environment :: Console',
62 'Intended Audience :: Developers',
63 'License :: OSI Approved :: Apache Software License',
64 'Natural Language :: English',
65 'Operating System :: OS Independent',
66 'Programming Language :: Python',
67 'Topic :: Software Development :: Testing',
70 zip_safe = False,
71 packages = find_packages(),
72 entry_points = {
73 'console_scripts': [
74 'lit = lit:main',