From d516c65fec24289c68d42c810d506b9540166bf5 Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Tue, 6 Feb 2024 11:12:20 +0000 Subject: [PATCH 1/4] Add check manifest to CI --- .github/workflows/test_and_deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 26c5c9f3..8ba141dc 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -22,8 +22,14 @@ jobs: steps: - uses: neuroinformatics-unit/actions/lint@v2 + manifest: + name: Check Manifest + runs-on: ubuntu-latest + steps: + - uses: neuroinformatics-unit/actions/check_manifest@v2 + test: - needs: [linting] + needs: [linting, manifest] name: ${{ matrix.os }} py${{ matrix.python-version }} runs-on: ${{ matrix.os }} strategy: From c0ecf92bb1e0a3abd6e4938d248370ec7496e419 Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Tue, 6 Feb 2024 11:17:26 +0000 Subject: [PATCH 2/4] Tidy some ignores up --- .gitignore | 4 ++-- .../__pycache__/__init__.cpython-37.pyc | Bin 381 -> 0 bytes 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 brainrender/atlas_specific/__pycache__/__init__.cpython-37.pyc diff --git a/.gitignore b/.gitignore index 18169a56..509fb15e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,9 @@ __pycache__ .ipynb_checkpoints .pytest_cache/* .pytest_cache/ -__pycache__/* +__pycache__/** __pycache__/ -*/__pycache__ +**/__pycache__ brainrender/atlas_specific/gene_expression/__pycache__ brainrender/atlas_specific/gene_expression/__pycache__/* brainrender/atlas_specific/__pycache__ diff --git a/brainrender/atlas_specific/__pycache__/__init__.cpython-37.pyc b/brainrender/atlas_specific/__pycache__/__init__.cpython-37.pyc deleted file mode 100644 index 28abdb7efa1a6018a9836e469003c8ec222da47d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 381 zcmb7;u}Z{15QcY?6e3<>E51OQ)FQ{BhkDwGDA$CAA(zaBh0P|+Y(O8!(l@a4A?&WT z@)fLZ5>U?a26pD(-GBH0=99^xl6rmrfKQoU!{)al5f`%fR9dAf?Np<4tp^>ssEPAf zbo`{!P%O{i6eTjo_OmR{&61JW+@Jv2 zvNcz2**E9|n}rRx{mRS-;Kvcz>?E82@CLwo8vwHIWpglX+NyUr(~`sk^ijM89L#uy From 8cc675f70c243405a322ca2f5210de997ec57cad Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Tue, 6 Feb 2024 11:19:59 +0000 Subject: [PATCH 3/4] Update the manifest accordingly --- MANIFEST.in | 14 ++++++++++---- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 40cd0f87..a6bfd248 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,12 @@ +exclude .pre-commit-config.yaml + global-include *.svg -recursive-exclude tests * -recursive-exclude examples * -recursive-exclude imgs * -recursive-exclude videos * +prune tests +prune examples +prune imgs +prune videos + +graft brainrender + +global-exclude */__pycache__/* \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 614e4b53..39e657ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ include-package-data = true [tool.setuptools.packages.find] include = ["brainrender*"] -exclude = ["tests", "docs*"] +exclude = ["tests*", "docs*", "examples*", "imgs*"] [tool.pytest.ini_options] From 957074223d8786535e4bc7744fc18ff0778d2931 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:20:52 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index a6bfd248..78b4df9e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,4 +9,4 @@ prune videos graft brainrender -global-exclude */__pycache__/* \ No newline at end of file +global-exclude */__pycache__/*