Skip to content

Commit

Permalink
Merge pull request #37 from aliceinwire/pypi_updates
Browse files Browse the repository at this point in the history
Pypi updates
  • Loading branch information
aliceinwire authored Oct 26, 2024
2 parents 0daa739 + 02712b6 commit 79e65bc
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 9 deletions.
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

0 comments on commit 79e65bc

Please sign in to comment.