diff --git a/.gitignore b/.gitignore index a553d406..f52780f2 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ __pycache__ /env *.pyc dist +/build # Editor files .vscode diff --git a/python/setup.py b/python/setup.py index b4861155..abbef7f8 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,6 +1,6 @@ import os -from setuptools import setup +from setuptools import setup, find_packages from setuptools_rust import Binding, RustExtension package_dir = os.path.dirname(__file__) @@ -18,6 +18,7 @@ features=["python"], binding=Binding.PyO3) ], + packages=find_packages("python"), package_dir={"": package_dir}, # rust extensions are not zip safe, just like C-extensions. zip_safe=False,