File: setup.py

package info (click to toggle)
command-not-found 18.04.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 8,184 kB
  • sloc: python: 995; sh: 43; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/python3

from distutils.core import setup
from DistUtilsExtra.command import (build_extra, build_i18n)
import glob

setup(
    name='command-not-found',
    version='0.3',
    packages=['CommandNotFound', 'CommandNotFound.db'],
    scripts=['command-not-found', 'cnf-update-db'],
    cmdclass={"build": build_extra.build_extra,
                "build_i18n": build_i18n.build_i18n,
                },
    data_files=[
        ('share/command-not-found/', glob.glob("data/*.db")),
        ('../etc', ['bash_command_not_found', 'zsh_command_not_found']),
        ('../etc/apt/apt.conf.d', ['data/50command-not-found']),
    ])