From f3f3aac5171af54ad9ecfc02923f9924c6481aea Mon Sep 17 00:00:00 2001 From: Jasur Sadikov Date: Mon, 30 Dec 2024 07:05:35 +0100 Subject: [PATCH] Imports are fixed --- pyproject.toml | 3 +++ src/mud/__init__.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 99b78a7..61ad9dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,9 @@ classifiers = [ ] dependencies = ["prettytable"] +[tool.setuptools.packages] +find = { where = ["src"] } + [tool.setuptools_scm] version_scheme = "no-guess-dev" local_scheme = "no-local-version" diff --git a/src/mud/__init__.py b/src/mud/__init__.py index 54b911b..b2aef5a 100755 --- a/src/mud/__init__.py +++ b/src/mud/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 -from mud import utils, settings -from mud.app import App +from . import utils, settings +from .app import App def run():