47 lines · python
1import os2import sys3 4from setuptools import setup, find_packages5 6# setuptools expects to be invoked from within the directory of setup.py, but it7# is nice to allow:8# python path/to/setup.py install9# 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:16 long_description = f.read()17 18setup(19 name="lit",20 version=lit.__version__,21 author=lit.__author__,22 author_email=lit.__email__,23 url="http://llvm.org",24 license="Apache-2.0 with LLVM exception",25 license_files=["LICENSE.TXT"],26 description="A Software Testing Tool",27 keywords="test C++ automatic discovery",28 long_description=long_description,29 classifiers=[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 ],39 zip_safe=False,40 packages=find_packages(),41 entry_points={42 "console_scripts": [43 "lit = lit.main:main",44 ],45 },46)47