File: setup.py

package info (click to toggle)
command-not-found 23.04.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,064 kB
  • sloc: python: 1,008; sh: 29; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download | duplicates (4)
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']),
    ])