[RISCV] Refactor predicates for rvv intrinsic patterns.
[llvm-project.git] / llvm / utils / lit / setup.py
blob69a38edef83d646b586df010ba7e70339d0e5b07
1 import os
2 import sys
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__)))
11 sys.path.insert(0, ".")
13 import lit
15 with open("README.rst", "r", encoding="utf-8") as f:
16 long_description = f.read()
18 setup(
19 name = "lit",
20 version = lit.__version__,
22 author = lit.__author__,
23 author_email = lit.__email__,
24 url = 'http://llvm.org',
25 license = 'Apache-2.0 with LLVM exception',
26 license_files = ['LICENSE.TXT'],
28 description = "A Software Testing Tool",
29 keywords = 'test C++ automatic discovery',
30 long_description = long_description,
32 classifiers=[
33 'Development Status :: 3 - Alpha',
34 'Environment :: Console',
35 'Intended Audience :: Developers',
36 'License :: OSI Approved :: Apache Software License',
37 'Natural Language :: English',
38 'Operating System :: OS Independent',
39 'Programming Language :: Python',
40 'Topic :: Software Development :: Testing',
43 zip_safe = False,
44 packages = find_packages(),
45 entry_points = {
46 'console_scripts': [
47 'lit = lit.main:main',