diff --git a/pyproject.toml b/pyproject.toml index d6c3666dfa..46c819a037 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ urls = { repository = "https://github.com/charliermarsh/ruff" } [tool.maturin] bindings = "bin" +python-source = "python" strip = true [tool.setuptools] diff --git a/ruff/__init__.py b/python/ruff/__init__.py similarity index 100% rename from ruff/__init__.py rename to python/ruff/__init__.py diff --git a/ruff/__main__.py b/python/ruff/__main__.py similarity index 100% rename from ruff/__main__.py rename to python/ruff/__main__.py