#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of buildroot-helpers
#
# Copyright (C) 2015 Eric Le Bihan <eric.le.bihan.dev@free.fr>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

from setuptools import setup, find_packages
from disthelpers import extract_messages, init_catalog, update_catalog
from disthelpers import build, build_catalog, build_man
from glob import glob
import br2helpers

setup(name='buildroot-helpers',
      version=br2helpers.__version__,
      description='Buildroot helper tools',
      long_description='''
      Collection of helper tools for Buildroot
      ''',
      license='GPLv2+',
      url='https://github.com/elebihan/buildroot-helpers/',
      platforms=['Any'],
      keywords=['Buildroot', 'Makefile'],
      install_requires=[],
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Programming Language :: Python :: 3',
      ],
      packages=find_packages(),
      data_files=[
          ('share/zsh/site-functions', glob('shell-completion/zsh/_*')),
      ],
      include_package_data=True,
      entry_points={
          'console_scripts': [
              'manage-local-mk = br2helpers.cli:manage_local_mk',
          ],
      },
      author='Eric Le Bihan',
      author_email='eric.le.bihan.dev@free.fr',
      cmdclass={'build': build,
                'build_man': build_man,
                'extract_messages': extract_messages,
                'init_catalog': init_catalog,
                'update_catalog': update_catalog,
                'build_catalog': build_catalog})

# vim: ts=4 sts=4 sw=4 sta et ai

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of buildroot-helpers
#
# Copyright (C) 2015 Eric Le Bihan <eric.le.bihan.dev@free.fr>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

from setuptools import setup, find_packages
from disthelpers import extract_messages, init_catalog, update_catalog
from disthelpers import build, build_catalog, build_man
from glob import glob
import br2helpers

setup(name='buildroot-helpers',
      version=br2helpers.__version__,
      description='Buildroot helper tools',
      long_description='''
      Collection of helper tools for Buildroot
      ''',
      license='GPLv2+',
      url='https://github.com/elebihan/buildroot-helpers/',
      platforms=['Any'],
      keywords=['Buildroot', 'Makefile'],
      install_requires=[],
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Programming Language :: Python :: 3',
      ],
      packages=find_packages(),
      data_files=[
          ('share/zsh/site-functions', glob('shell-completion/zsh/_*')),
      ],
      include_package_data=True,
      entry_points={
          'console_scripts': [
              'br2-local-mk = br2helpers.cli:br2_local_mk',
          ],
      },
      author='Eric Le Bihan',
      author_email='eric.le.bihan.dev@free.fr',
      cmdclass={'build': build,
                'build_man': build_man,
                'extract_messages': extract_messages,
                'init_catalog': init_catalog,
                'update_catalog': update_catalog,
                'build_catalog': build_catalog})

# vim: ts=4 sts=4 sw=4 sta et ai

install br2-local-mk console script