From 9a07b0623ed58bc41ef17761b5a0f2ad6b2a9fb3 Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 12 Jan 2023 12:12:55 +0800 Subject: [PATCH] Move top level `ruff` into `python` folder (#1806) https://maturin.rs/project_layout.html#mixed-rustpython-project Resolves #1805 --- pyproject.toml | 1 + {ruff => python/ruff}/__init__.py | 0 {ruff => python/ruff}/__main__.py | 0 3 files changed, 1 insertion(+) rename {ruff => python/ruff}/__init__.py (100%) rename {ruff => python/ruff}/__main__.py (100%) 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