switch kiwi-scp and kiwi-scp-core

This commit is contained in:
Jörn-Michael Miehe 2024-05-02 16:09:56 +02:00
parent b71140004d
commit 51520d8507
9 changed files with 32 additions and 33 deletions

View file

@ -45,7 +45,7 @@
"postCreateCommand": "sudo /usr/local/py-utils/bin/poetry self add poetry-plugin-up", "postCreateCommand": "sudo /usr/local/py-utils/bin/poetry self add poetry-plugin-up",
// Use 'postStartCommand' to run commands after the container is started. // Use 'postStartCommand' to run commands after the container is started.
"postStartCommand": "poetry install" "postStartCommand": "poetry install && poetry run poetry install --directory=./kiwi"
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [], // "forwardPorts": [],

7
core/poetry.lock generated
View file

@ -1,7 +0,0 @@
# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
package = []
[metadata]
lock-version = "2.0"
python-versions = "^3.9"
content-hash = "c595a0588c25d58f3e3834ad7169126836d262b925fe6ca9b5d540dcf301d254"

19
kiwi/poetry.lock generated Normal file
View file

@ -0,0 +1,19 @@
# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
[[package]]
name = "kiwi-scp-core"
version = "0.1.0"
description = ""
optional = false
python-versions = "^3.9"
files = []
develop = true
[package.source]
type = "directory"
url = ".."
[metadata]
lock-version = "2.0"
python-versions = "^3.9"
content-hash = "a3d34500c99938adcdd197120ef1d14e13272335d82463becce1e9b26fdb1fa3"

View file

@ -1,14 +1,19 @@
[tool.poetry] [tool.poetry]
name = "kiwi-scp-core" name = "kiwi-scp"
version = "0.1.0" version = "0.3.0"
description = "" description = "kiwi is the simple tool for managing container servers."
license = "MIT" license = "MIT"
authors = ["Jörn-Michael Miehe <40151420+ldericher@users.noreply.github.com>"] authors = ["Jörn-Michael Miehe <40151420+ldericher@users.noreply.github.com>"]
maintainers = [] maintainers = []
readme = "README.md"
[tool.poetry.dependencies] [tool.poetry.dependencies]
kiwi-scp-core = {path="..", develop=true}
python = "^3.9" python = "^3.9"
[tool.poetry.scripts]
kiwi = "kiwi_scp.main:main"
[build-system] [build-system]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"] requires = ["poetry-core"]

15
poetry.lock generated
View file

@ -101,19 +101,6 @@ files = [
[package.extras] [package.extras]
colors = ["colorama (>=0.4.6)"] colors = ["colorama (>=0.4.6)"]
[[package]]
name = "kiwi-scp-core"
version = "0.1.0"
description = ""
optional = false
python-versions = "^3.9"
files = []
develop = true
[package.source]
type = "directory"
url = "core"
[[package]] [[package]]
name = "mccabe" name = "mccabe"
version = "0.7.0" version = "0.7.0"
@ -221,4 +208,4 @@ files = [
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.9" python-versions = "^3.9"
content-hash = "ff1c6b410532cfb62184d0527821f3a2f5c5ac90e9eab8d9b6023e053921951e" content-hash = "4a9120abe8e3e31f72c4a2554d20acded5c1da5a81d3169bbd6ec50b45dd16cb"

View file

@ -1,19 +1,14 @@
[tool.poetry] [tool.poetry]
name = "kiwi-scp" name = "kiwi-scp-core"
version = "0.3.0" version = "0.1.0"
description = "kiwi is the simple tool for managing container servers." description = ""
license = "MIT" license = "MIT"
authors = ["Jörn-Michael Miehe <40151420+ldericher@users.noreply.github.com>"] authors = ["Jörn-Michael Miehe <40151420+ldericher@users.noreply.github.com>"]
maintainers = [] maintainers = []
readme = "README.md"
[tool.poetry.dependencies] [tool.poetry.dependencies]
kiwi-scp-core = {path="core", develop=true}
python = "^3.9" python = "^3.9"
[tool.poetry.scripts]
kiwi = "kiwi_scp.main:main"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
black = "^24.4.2" black = "^24.4.2"
flake8 = "^7.0.0" flake8 = "^7.0.0"