1import lit 2import os 3 4from setuptools import setup, find_packages 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.) 10os.chdir(os.path.dirname(os.path.abspath(__file__))) 11 12setup( 13 name = "lit", 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 = """\ 24*lit* 25+++++ 26 27About 28===== 29 30*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. 34 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 48The official *lit* documentation is in the man page, available online at the LLVM 49Command Guide: http://llvm.org/cmds/lit.html. 50 51 52Source 53====== 54 55The *lit* source is available as part of LLVM, in the LLVM SVN repository: 56http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit. 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', 66 'Programming Language :: Python', 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) 78