public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
blob 94fcc1277c5f04ad73e8ca5bb377c092ad5423da 861 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
#! /usr/bin/env python3

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright Red Hat
# Author: David Gibson <david@gibson.dropbear.id.au>

"""
Setup script for avocado-classless plugin
"""

from setuptools import setup, find_packages

NAME = "avocado-classless"
PKGNAME = "avocado_classless"

resolver = f"{PKGNAME}.plugin:ClasslessResolver"
runner = f"{PKGNAME}.plugin:ClasslessRunner"
runscript = f"{PKGNAME}.plugin:main"

if __name__ == "__main__":
    setup(
        name="avocado-classless",
        version="0.1",
        description="Avocado Classless Test Type",
        packages=find_packages(),
        entry_points={
            "avocado.plugins.resolver": [f"{NAME} = {resolver}"],
            "avocado.plugins.runnable.runner": [f"{NAME} = {runner}"],
            "console_scripts": [f"avocado-runner-{NAME} = {runscript}"],
        },
    )

debug log:

solving 94fcc127 ...
found 94fcc127 in https://archives.passt.top/passt-dev/20230627025429.2209702-5-david@gibson.dropbear.id.au/

applying [1/1] https://archives.passt.top/passt-dev/20230627025429.2209702-5-david@gibson.dropbear.id.au/
diff --git a/test/avocado_classless/setup.py b/test/avocado_classless/setup.py
new file mode 100644
index 00000000..94fcc127

Checking patch test/avocado_classless/setup.py...
Applied patch test/avocado_classless/setup.py cleanly.

index at:
100644 94fcc1277c5f04ad73e8ca5bb377c092ad5423da	test/avocado_classless/setup.py

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).