1# -*- coding: utf-8 -*- 2# Copyright (C) 2016 Adrien Vergé 3# 4# This program is free software: you can redistribute it and/or modify 5# it under the terms of the GNU General Public License as published by 6# the Free Software Foundation, either version 3 of the License, or 7# (at your option) any later version. 8# 9# This program is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12# GNU General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License 15# along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17from setuptools import find_packages, setup 18 19from yamllint import (__author__, __license__, 20 APP_NAME, APP_VERSION, APP_DESCRIPTION) 21 22 23setup( 24 name=APP_NAME, 25 version=APP_VERSION, 26 author=__author__, 27 description=APP_DESCRIPTION.split('\n')[0], 28 long_description=APP_DESCRIPTION, 29 license=__license__, 30 keywords=['yaml', 'lint', 'linter', 'syntax', 'checker'], 31 url='https://github.com/adrienverge/yamllint', 32 python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 33 classifiers=[ 34 'Development Status :: 5 - Production/Stable', 35 'Environment :: Console', 36 'Intended Audience :: Developers', 37 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 38 'Programming Language :: Python :: 2', 39 'Programming Language :: Python :: 2.7', 40 'Programming Language :: Python :: 3', 41 'Programming Language :: Python :: 3.4', 42 'Programming Language :: Python :: 3.5', 43 'Programming Language :: Python :: 3.6', 44 'Programming Language :: Python :: 3.7', 45 'Topic :: Software Development', 46 'Topic :: Software Development :: Debuggers', 47 'Topic :: Software Development :: Quality Assurance', 48 'Topic :: Software Development :: Testing', 49 ], 50 51 packages=find_packages(exclude=['tests', 'tests.*']), 52 entry_points={'console_scripts': ['yamllint=yamllint.cli:run']}, 53 package_data={'yamllint': ['conf/*.yaml']}, 54 install_requires=['pathspec >=0.5.3', 'pyyaml'], 55 test_suite='tests', 56) 57