Skip to content
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/kcidev.py → kcidev/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import click

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


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

from libs.common import *
from kcidev.libs.common import *


def api_connection(host):
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 @@ -7,7 +7,7 @@
import requests
from git import Repo

from libs.common import *
from kcidev.libs.common import *


def api_connection(host):
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ authors = ["Arisu Tachibana <arisu.tachibana@miraclelinux.com>"]
license = "LGPL-2.1-or-later"
readme = "README.md"
packages = [
{include = "src"},
{include = "subcommands", from="src"},
{include = "kcidev"},
{include = "subcommands", from="kcidev"},
{include = "libs", from="kcidev"},
]
repository = "https://github.com/kernelci/kci-dev"
classifiers = [
'Development Status :: 4 - beta',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
Expand All @@ -34,7 +35,7 @@ toml = "^0.10.2"
gitpython = "^3.1.43"

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

[tool.poetry.urls]
"Issue Tracker" = "https://github.com/kernelci/kci-dev/issues"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_kcidev.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_kcidev_commit():


def test_main():
from subcommands.commit import api_connection
from kcidev.subcommands.commit import api_connection

print(api_connection("test"))

Expand Down