From fcb5180b2763431d8bd9a94b798646819b497e9d Mon Sep 17 00:00:00 2001 From: Hajime Senuma Date: Fri, 5 Jan 2024 22:30:03 +0900 Subject: [PATCH] Add exclude to setup.py --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2f3f707..cdcd196 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import Extension, setup +from setuptools import Extension, find_packages, setup mmh3module = Extension( "mmh3", sources=["./src/mmh3/mmh3module.c", "./src/mmh3/_mmh3/murmurhash3.c"] @@ -6,5 +6,6 @@ setup( ext_modules=[mmh3module], + packages=find_packages(exclude=["./src/mmh3/_mmh3/refresh.py"]), package_data={"mmh3": ["./src/mmh3/py.typed", "./src/mmh3/**.pyi"]}, )