From 4b9625ac0697a205b9714b60403ae2befa7fe781 Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Sun, 23 Jun 2019 12:40:35 -0400 Subject: ENH: metadata PEP390 setup.cfg https for Meson docs url Co-Authored-By: Elliott Sales de Andrade --- setup.py | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0a2efb190..442e02a17 100644 --- a/setup.py +++ b/setup.py @@ -17,9 +17,8 @@ import sys if sys.version_info < (3, 5, 0): - print('Tried to install with an unsupported version of Python. ' - 'Meson requires Python 3.5.0 or greater') - sys.exit(1) + raise SystemExit('ERROR: Tried to install Meson with an unsupported Python version: \n{}' + '\nMeson requires Python 3.5.0 or greater'.format(sys.version)) from mesonbuild.coredata import version from setuptools import setup @@ -49,29 +48,7 @@ if sys.platform != 'win32': if __name__ == '__main__': setup(name='meson', version=version, - description='A high performance build system', - author='Jussi Pakkanen', - author_email='jpakkane@gmail.com', - url='http://mesonbuild.com', - license=' Apache License, Version 2.0', - python_requires='>=3.5', packages=packages, package_data=package_data, entry_points=entries, - data_files=data_files, - classifiers=['Development Status :: 5 - Production/Stable', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache Software License', - 'Natural Language :: English', - 'Operating System :: MacOS :: MacOS X', - 'Operating System :: Microsoft :: Windows', - 'Operating System :: POSIX :: BSD', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 3 :: Only', - 'Topic :: Software Development :: Build Tools', - ], - long_description='''Meson is a cross-platform build system designed to be both as - fast and as user friendly as possible. It supports many languages and compilers, including - GCC, Clang and Visual Studio. Its build definitions are written in a simple non-turing - complete DSL.''') + data_files=data_files,) -- cgit v1.2.3