From fec77104fd61ee586e968ea0bcff7478009b2309 Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Tue, 6 Feb 2024 13:46:10 +0000 Subject: [PATCH 1/2] Add manifest --- .github/workflows/test_and_deploy.yml | 8 +++++++- .gitignore | 1 + MANIFEST.in | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 7cc10ea..608eb53 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -15,8 +15,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: diff --git a/.gitignore b/.gitignore index 19fa144..38fad73 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.conf.custom # Byte-compiled / optimized / DLL files +**/__pycache__/** __pycache__/ *.py[cod] *$py.class diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..da79f17 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,8 @@ +exclude .pre-commit-config.yaml + +include LICENSE +include README.md + +graft brainglobe_utils + +prune tests From 3fdb303a5e6477743fae706db17ee1727286f163 Mon Sep 17 00:00:00 2001 From: willGraham01 <1willgraham@gmail.com> Date: Tue, 6 Feb 2024 13:47:37 +0000 Subject: [PATCH 2/2] Fix the manifest --- MANIFEST.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index da79f17..1ebc22f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,6 +3,7 @@ exclude .pre-commit-config.yaml include LICENSE include README.md -graft brainglobe_utils +graft brainglobe_utils *.py +include brainglobe_utils/qtpy/brainglobe.png prune tests