Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyproject: update kci-dev sources path for pypi entry point #36

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[tool.poetry]
name = "kci-dev"
version = "0.0.1"
version = "0.1.0"
description = "Stand alone tool for Linux Kernel developers and maintainers that can test local Linux Kernel changes on a enabled KernelCI server"
authors = ["Arisu Tachibana <arisu.tachibana@miraclelinux.com>"]
license = "LGPL-2.1-or-later"
readme = "README.md"
packages = [
{include = "kci-dev"},
{include = "subcommands", from="kci-dev"},
{include = "src"},
{include = "subcommands", from="src"},
]
repository = "https://github.com/kernelci/kci-dev"
classifiers = [
'Development Status :: 1 - Planning',
'Development Status :: 4 - beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
Expand All @@ -34,7 +34,7 @@ toml = "^0.10.2"
gitpython = "^3.1.43"

[tool.poetry.scripts]
kci-dev = 'kci-dev.kci-dev:run'
kci-dev = 'src.kcidev:run'

[tool.poetry.urls]
"Issue Tracker" = "https://github.com/kernelci/kci-dev/issues"
Expand All @@ -50,7 +50,7 @@ check = "./scripts/check.sh"

[tool.pytest.ini_options]
pythonpath = [
"kci-dev"
"src"
]

[build-system]
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion kci-dev/kci-dev.py → src/kcidev.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# -*- coding: utf-8 -*-

import click

from libs.common import *
from subcommands import checkout, commit, patch, results, testretry


@click.group(
help="Stand alone tool for Linux Kernel developers and maintainers that can test local Linux Kernel changes on a enabled KernelCI server"
)
@click.version_option("0.0.1", prog_name="kci-dev")
@click.version_option("0.1.0", prog_name="kci-dev")
@click.option("--settings", default=".kci-dev.toml", help="path of toml setting file")
@click.option("--instance", help="API instance to use", required=False)
@click.pass_context
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import click
import requests
from git import Repo

from libs.common import *


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import click
import requests
from git import Repo

from libs.common import *


Expand Down
Loading