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}"],
},
)
|