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