Skip to content

Commit 79e65bc

Browse files
authored
Merge pull request #37 from aliceinwire/pypi_updates
Pypi updates
2 parents 0daa739 + 02712b6 commit 79e65bc

12 files changed

+10
-9
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/kcidev.py renamed to kcidev/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import click
55

6-
from libs.common import *
7-
from subcommands import checkout, commit, patch, results, testretry
6+
from kcidev.libs.common import *
7+
from kcidev.subcommands import checkout, commit, patch, results, testretry
88

99

1010
@click.group(
File renamed without changes.

src/subcommands/checkout.py renamed to kcidev/subcommands/checkout.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import requests
1313
from git import Repo
1414

15-
from libs.common import *
15+
from kcidev.libs.common import *
1616

1717

1818
def api_connection(host):
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/subcommands/testretry.py renamed to kcidev/subcommands/testretry.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import requests
88
from git import Repo
99

10-
from libs.common import *
10+
from kcidev.libs.common import *
1111

1212

1313
def api_connection(host):

pyproject.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ authors = ["Arisu Tachibana <[email protected]>"]
66
license = "LGPL-2.1-or-later"
77
readme = "README.md"
88
packages = [
9-
{include = "src"},
10-
{include = "subcommands", from="src"},
9+
{include = "kcidev"},
10+
{include = "subcommands", from="kcidev"},
11+
{include = "libs", from="kcidev"},
1112
]
1213
repository = "https://github.com/kernelci/kci-dev"
1314
classifiers = [
14-
'Development Status :: 4 - beta',
15+
'Development Status :: 4 - Beta',
1516
'Environment :: Console',
1617
'Intended Audience :: Developers',
1718
'Operating System :: OS Independent',
@@ -34,7 +35,7 @@ toml = "^0.10.2"
3435
gitpython = "^3.1.43"
3536

3637
[tool.poetry.scripts]
37-
kci-dev = 'src.kcidev:run'
38+
kci-dev = 'kcidev.main:run'
3839

3940
[tool.poetry.urls]
4041
"Issue Tracker" = "https://github.com/kernelci/kci-dev/issues"

tests/test_kcidev.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_kcidev_commit():
139139

140140

141141
def test_main():
142-
from subcommands.commit import api_connection
142+
from kcidev.subcommands.commit import api_connection
143143

144144
print(api_connection("test"))
145145

0 commit comments

Comments
 (0)