aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-06-23 12:40:35 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-11 22:37:25 +0300
commit4b9625ac0697a205b9714b60403ae2befa7fe781 (patch)
treeec1eb85fb55e5081b02b41de4995ef88f623511f /setup.py
parentefea48788ab29c45a83f6a50d39fd7d0689f5f0e (diff)
downloadmeson-4b9625ac0697a205b9714b60403ae2befa7fe781.zip
meson-4b9625ac0697a205b9714b60403ae2befa7fe781.tar.gz
meson-4b9625ac0697a205b9714b60403ae2befa7fe781.tar.bz2
ENH: metadata PEP390 setup.cfg
https for Meson docs url Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py29
1 files changed, 3 insertions, 26 deletions
diff --git a/setup.py b/setup.py
index 0a2efb1..442e02a 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,)