Skip to content

Commit

Permalink
Merge pull request #36 from aliceinwire/pypi_updates
Browse files Browse the repository at this point in the history
pyproject: update kci-dev sources path for pypi entry point
  • Loading branch information
aliceinwire authored Oct 25, 2024
2 parents f6b75c1 + ec1f1d9 commit 0daa739
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 7 deletions.
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 <[email protected]>"]
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

0 comments on commit 0daa739

Please sign in to comment.