From fb77eb461a4a28ef2c46189af93774e6bb16726e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 30 May 2022 13:24:07 +0300 Subject: [PATCH] Fixed models package --- setup.py | 2 +- slpkg/init.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index c5da479a..bcc4e25e 100755 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ print_logo() setup( name="slpkg", packages=["slpkg", "slpkg/sbo", "slpkg/pkg", "slpkg/slack", - "slpkg/binary"], + "slpkg/binary", "slpkg/models"], scripts=["bin/slpkg"], version=_meta_.__version__, description="Package manager for Slackware installations", diff --git a/slpkg/init.py b/slpkg/init.py index 08e06265..00a2117a 100644 --- a/slpkg/init.py +++ b/slpkg/init.py @@ -25,12 +25,12 @@ import os import shutil import sqlite3 -from models.models import Database from slpkg.utils import Utils from slpkg.repositories import Repo from slpkg.file_size import FileSize from slpkg.downloader import Download +from slpkg.models.models import Database from slpkg.__metadata__ import MetaData as _meta_ from slpkg.slack.mirrors import mirrors @@ -38,7 +38,7 @@ from slpkg.slack.slack_version import slack_ver class Initialization(Utils): - """Slpkg initialization starts all from here. + """Slpkg initialization starts all from here. Creates local package lists and updates or upgrades these. """ def __init__(self, check):