llvm-project
46 строк · 1.3 Кб
1import os2import sys3
4from setuptools import setup, find_packages5
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__)))11sys.path.insert(0, ".")12
13import lit14
15with open("README.rst", "r", encoding="utf-8") as f:16long_description = f.read()17
18setup(19name="lit",20version=lit.__version__,21author=lit.__author__,22author_email=lit.__email__,23url="http://llvm.org",24license="Apache-2.0 with LLVM exception",25license_files=["LICENSE.TXT"],26description="A Software Testing Tool",27keywords="test C++ automatic discovery",28long_description=long_description,29classifiers=[30"Development Status :: 3 - Alpha",31"Environment :: Console",32"Intended Audience :: Developers",33"License :: OSI Approved :: Apache Software License",34"Natural Language :: English",35"Operating System :: OS Independent",36"Programming Language :: Python",37"Topic :: Software Development :: Testing",38],39zip_safe=False,40packages=find_packages(),41entry_points={42"console_scripts": [43"lit = lit.main:main",44],45},46)
47