|
| 1 | +#!/usr/bin/env python3 |
| 2 | +# |
| 3 | +# Copyright (C) 2021 Sébastien Helleu <flashcode@flashtux.org> |
| 4 | +# |
| 5 | +# This file is part of weechat-script-lint. |
| 6 | +# |
| 7 | +# Weechat-script-lint is free software; you can redistribute it and/or modify |
| 8 | +# it under the terms of the GNU General Public License as published by |
| 9 | +# the Free Software Foundation; either version 3 of the License, or |
| 10 | +# (at your option) any later version. |
| 11 | +# |
| 12 | +# Weechat-script-lint is distributed in the hope that it will be useful, |
| 13 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +# GNU General Public License for more details. |
| 16 | +# |
| 17 | +# You should have received a copy of the GNU General Public License |
| 18 | +# along with weechat-script-lint. If not, see <https://www.gnu.org/licenses/>. |
| 19 | +# |
| 20 | + |
| 21 | +from codecs import open |
| 22 | +from setuptools import setup, find_packages |
| 23 | +from weechat_script_lint import __version__ as wsl_version |
| 24 | + |
| 25 | +DESCRIPTION = 'Static analysis tool for WeeChat scripts.' |
| 26 | + |
| 27 | +with open('README.md', 'r', 'utf-8') as f: |
| 28 | + readme = f.read() |
| 29 | + |
| 30 | +setup( |
| 31 | + name='weechat-script-lint', |
| 32 | + version=wsl_version, |
| 33 | + description=DESCRIPTION, |
| 34 | + long_description=readme, |
| 35 | + long_description_content_type='text/markdown', |
| 36 | + author='Sébastien Helleu', |
| 37 | + author_email='flashcode@flashtux.org', |
| 38 | + url='https://github.com/weechat/weechat-script-lint', |
| 39 | + license='GPL3', |
| 40 | + keywords='static analysis weechat script lint', |
| 41 | + classifiers=[ |
| 42 | + 'Development Status :: 5 - Production/Stable', |
| 43 | + 'Environment :: Console', |
| 44 | + 'Intended Audience :: Developers', |
| 45 | + 'License :: OSI Approved :: GNU General Public License v3 ' |
| 46 | + 'or later (GPLv3+)', |
| 47 | + 'Natural Language :: English', |
| 48 | + 'Operating System :: OS Independent', |
| 49 | + 'Programming Language :: Python', |
| 50 | + 'Programming Language :: Python :: 3', |
| 51 | + 'Topic :: Software Development', |
| 52 | + 'Topic :: Utilities', |
| 53 | + ], |
| 54 | + packages=find_packages(), |
| 55 | + tests_require=['pytest'], |
| 56 | + entry_points={ |
| 57 | + 'console_scripts': ['weechat-script-lint=weechat_script_lint:main'], |
| 58 | + } |
| 59 | +) |
0 commit comments