diff --git a/.github/workflows/mepo.yaml b/.github/workflows/mepo.yaml index 4e7710c2..50206b9d 100644 --- a/.github/workflows/mepo.yaml +++ b/.github/workflows/mepo.yaml @@ -27,5 +27,5 @@ jobs: timeout-minutes: 5 - name: Run unit tests - run: python3 mepo.d/utest/test_mepo_commands.py -v + run: python3 tests/test_mepo_commands.py -v timeout-minutes: 5 diff --git a/pyproject.toml b/pyproject.toml index 3e6181e0..02a97b61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,11 @@ build-backend = "setuptools.build_meta" [project] name = "mepo" -version = "v1.55.0" -authors = ["GMAO SI Team"] -description = "Tool to manage (m)ultiple git r(epo)sitories" +version = "v1.59.0" +authors = [ + {name = "GMAO SI Team", email = "gmao.siteam@nasa.gov"}, +] +description = "Add description here" requires-python = ">= 3.9" license = {file = "LICENSE"} readme = "README.md" @@ -18,7 +20,7 @@ dependencies = [ Homepage = "https://github.com/GEOS-ESM/mepo" [project.scripts] -mepo = "mepo:main" +mepo = "mepo.main:main" [tool.setuptools] include-package-data = true diff --git a/src/mepo/main.py b/src/mepo/main.py index 620c7e57..30a31351 100644 --- a/src/mepo/main.py +++ b/src/mepo/main.py @@ -1,5 +1,5 @@ -from cmdline.parser import MepoArgParser -from command import command +from mepo.cmdline.parser import MepoArgParser +from mepo.command import command def main(): args = MepoArgParser().parse() diff --git a/tests/test_mepo_commands.py b/tests/test_mepo_commands.py index 34364864..dbdd88ef 100644 --- a/tests/test_mepo_commands.py +++ b/tests/test_mepo_commands.py @@ -1,7 +1,7 @@ import os import sys THIS_DIR = os.path.dirname(os.path.realpath(__file__)) -sys.path.insert(0, os.path.join(THIS_DIR, '..')) +sys.path.insert(0, os.path.join(THIS_DIR, '..', 'src')) import shutil import shlex import unittest