File: installable.py

package info (click to toggle)
pyqt-builder 1.18.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: python: 2,123; makefile: 18
file content (20 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License-Identifier: BSD-2-Clause

# Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>


from sipbuild import Installable


class QmakeTargetInstallable(Installable):
    """ An installable for the TARGET of a .pro file.  A TARGET is installed
    automatically but this captures the information needed for the .dist-info
    directory.
    """

    def __init__(self, target, target_subdir):
        """ Initialise the installable. """

        super().__init__('target', target_subdir=target_subdir)

        self.files.append(target)