setup.py 1.38 KB
Newer Older
Jelmer Vernooij's avatar
Jelmer Vernooij committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/bin/python3
# Copyright (C) 2018 Jelmer Vernooij
#
# 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Jelmer Vernooij's avatar
Jelmer Vernooij committed
17

Jelmer Vernooij's avatar
Jelmer Vernooij committed
18
import glob
Jelmer Vernooij's avatar
Jelmer Vernooij committed
19 20 21
from setuptools import setup

setup(
Jelmer Vernooij's avatar
Jelmer Vernooij committed
22 23 24 25 26 27 28 29 30 31 32
    name="lintian-brush",
    version="0.1",
    author="Jelmer Vernooij",
    author_email="jelmer@debian.org",
    packages=["lintian_brush"],
    url="https://salsa.debian.org/jelmer/lintian-brush",
    description="Automatic lintian issue fixer",
    project_urls={
        "Repository": "https://salsa.debian.org/jelmer/lintian-brush",
    },
    requires=['breezy', 'debian'],
Jelmer Vernooij's avatar
Jelmer Vernooij committed
33
    entry_points={
34
        'console_scripts': ['lintian-brush=lintian_brush.__main__:main']
Jelmer Vernooij's avatar
Jelmer Vernooij committed
35
    },
36
    test_suite='lintian_brush.tests.test_suite',
Jelmer Vernooij's avatar
Jelmer Vernooij committed
37
    data_files=[('share/lintian-brush/fixers', glob.glob('fixers/*'))],
Jelmer Vernooij's avatar
Jelmer Vernooij committed
38
)