From 2ba20dcfaef3f94e96aa56f6ba1cab2664abf146 Mon Sep 17 00:00:00 2001 From: Yahia Zakaria Date: Sat, 22 Jul 2023 00:46:31 +0300 Subject: [PATCH 1/3] remove hatch.build section from pyproject.tom file --- pyproject.toml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 674322fd..5b3cf66f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,15 +30,3 @@ Homepage = "https://github.com/google/gcp_scanner" [project.scripts] gcp-scanner = "gcp_scanner.scanner:main" - -[tool.hatch.build] -exclude = [ - "test", - ".idea", - "*.md", - "test_*.py", - ".github", - ".gitignore", - "Dockerfile", - "example_config", -] From 9b4169b2fb4ce69fa0595a212096b305a7a0ea31 Mon Sep 17 00:00:00 2001 From: Yahia Zakaria Date: Sat, 22 Jul 2023 00:50:06 +0300 Subject: [PATCH 2/3] add MANIFEST.in file to exclude test files --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..6d35ed5e --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +exclude src/gcp_scanner/test_*.py \ No newline at end of file From 9febcdd0b63b55449eb3fb75b52be6bf46256f54 Mon Sep 17 00:00:00 2001 From: Yahia Zakaria Date: Sat, 22 Jul 2023 02:15:59 +0300 Subject: [PATCH 3/3] update MANIFEST.in file --- MANIFEST.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 6d35ed5e..7f039007 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,8 @@ -exclude src/gcp_scanner/test_*.py \ No newline at end of file +exclude src/gcp_scanner/test_*.py +exclude test +exclude .idea +exclude *.md +exclude .github +exclude .gitignore +exclude Dockerfile +exclude example_config