From 860d7b5eb92f7016dcd6f65fe69c047c9c9d775b Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Mon, 4 Nov 2024 14:11:24 +0000 Subject: [PATCH 1/4] attempted editing setup.cfg --- setup.cfg | 6 +++--- {tephi/tests => tests}/__init__.py | 0 {tephi/tests => tests}/conftest.py | 0 {tephi/tests => tests}/idiff.py | 0 {tephi/tests => tests}/results/barbs.npz | Bin {tephi/tests => tests}/results/dews.npz | Bin {tephi/tests => tests}/results/imagerepo.json | 0 {tephi/tests => tests}/results/temps.npz | Bin {tephi/tests => tests}/test_imagerepo.py | 0 {tephi/tests => tests}/test_tephigram.py | 0 10 files changed, 3 insertions(+), 3 deletions(-) rename {tephi/tests => tests}/__init__.py (100%) rename {tephi/tests => tests}/conftest.py (100%) rename {tephi/tests => tests}/idiff.py (100%) rename {tephi/tests => tests}/results/barbs.npz (100%) rename {tephi/tests => tests}/results/dews.npz (100%) rename {tephi/tests => tests}/results/imagerepo.json (100%) rename {tephi/tests => tests}/results/temps.npz (100%) rename {tephi/tests => tests}/test_imagerepo.py (100%) rename {tephi/tests => tests}/test_tephigram.py (100%) diff --git a/setup.cfg b/setup.cfg index 65cf4f9..9ad262b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,12 +2,12 @@ exclude = .git, docs, - tephi/tests/__init__.py + tests/__init__.py .eggs [tool:pytest] testpaths = - tephi/ + / markers = graphical: mark a test as a graphical test addopts = @@ -65,6 +65,6 @@ python_requires = >=3.8 [options.package_data] tephi = - etc/test_data/*.txt + tephi/etc/test_data/*.txt tests/results/*.npz tests/results/imagerepo.json diff --git a/tephi/tests/__init__.py b/tests/__init__.py similarity index 100% rename from tephi/tests/__init__.py rename to tests/__init__.py diff --git a/tephi/tests/conftest.py b/tests/conftest.py similarity index 100% rename from tephi/tests/conftest.py rename to tests/conftest.py diff --git a/tephi/tests/idiff.py b/tests/idiff.py similarity index 100% rename from tephi/tests/idiff.py rename to tests/idiff.py diff --git a/tephi/tests/results/barbs.npz b/tests/results/barbs.npz similarity index 100% rename from tephi/tests/results/barbs.npz rename to tests/results/barbs.npz diff --git a/tephi/tests/results/dews.npz b/tests/results/dews.npz similarity index 100% rename from tephi/tests/results/dews.npz rename to tests/results/dews.npz diff --git a/tephi/tests/results/imagerepo.json b/tests/results/imagerepo.json similarity index 100% rename from tephi/tests/results/imagerepo.json rename to tests/results/imagerepo.json diff --git a/tephi/tests/results/temps.npz b/tests/results/temps.npz similarity index 100% rename from tephi/tests/results/temps.npz rename to tests/results/temps.npz diff --git a/tephi/tests/test_imagerepo.py b/tests/test_imagerepo.py similarity index 100% rename from tephi/tests/test_imagerepo.py rename to tests/test_imagerepo.py diff --git a/tephi/tests/test_tephigram.py b/tests/test_tephigram.py similarity index 100% rename from tephi/tests/test_tephigram.py rename to tests/test_tephigram.py From b4338d5ffddf8d5cff393fbc781fa42350eee301 Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Mon, 4 Nov 2024 14:36:39 +0000 Subject: [PATCH 2/4] corrected an instance of tephi/tests --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 20d36bf..c86705c 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ setenv = BUILDDIR = {toxinidir}/docs/_build conda_env = requirements/rtd.yml commands = - sphinx-apidoc -o "{env:DOCSDIR}/api" tephi tephi/tests + sphinx-apidoc -o "{env:DOCSDIR}/api" tephi tests sphinx-build -W --keep-going -b html -d "{env:BUILDDIR}/doctrees" "{env:DOCSDIR}" "{env:BUILDDIR}/html" {posargs} # when running the doctests, also check that any snippets in the # docs are representative of the module output From bd572726baede400d6c62fd289bd28671a519fff Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Mon, 4 Nov 2024 14:41:01 +0000 Subject: [PATCH 3/4] here goes nothing --- MANIFEST.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 9cfe63a..aa71b66 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -8,6 +8,9 @@ include .coveragerc include .flake8 include .git-blame-ignore-revs include tox.ini +recursive-include tephi *.txt +recursive-include tests *.json +recursive-include tests *.npz recursive-include requirements *.yml recursive-include docs *.bat recursive-include docs *.ico From 173d2c4920717f432687d9c8c6c1635a808a973b Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Mon, 4 Nov 2024 15:03:12 +0000 Subject: [PATCH 4/4] just fidlling --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 9ad262b..cfb53eb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -66,5 +66,5 @@ python_requires = >=3.8 [options.package_data] tephi = tephi/etc/test_data/*.txt - tests/results/*.npz - tests/results/imagerepo.json + results/*.npz + results/imagerepo.json