diff --git a/pyproject.toml b/pyproject.toml index e77e444..d304632 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,11 +30,11 @@ Issues = "https://github.com/MusicalNinjaDad/fizzbuzz/issues" version = { file = "__pyversion__" } [tool.setuptools.packages.find] -where = ["fizzbuzz"] +where = ["python"] [[tool.setuptools-rust.ext-modules]] # Private Rust extension module to be nested into the Python package -target = "fizzbuzzo3" # The last part of the name (e.g. "_lib") has to match lib.name in Cargo.toml, +target = "fizzbuzz.fizzbuzzo3" # The last part of the name (e.g. "_lib") has to match lib.name in Cargo.toml, # but you can add a prefix to nest it inside of a Python package. path = "fizzbuzzo3/Cargo.toml" binding = "PyO3" diff --git a/fizzbuzz/__init__.py b/python/fizzbuzz/__init__.py similarity index 100% rename from fizzbuzz/__init__.py rename to python/fizzbuzz/__init__.py diff --git a/fizzbuzz/fizzbuzzo3/__init__.pyi b/python/fizzbuzz/fizzbuzzo3/__init__.pyi similarity index 100% rename from fizzbuzz/fizzbuzzo3/__init__.pyi rename to python/fizzbuzz/fizzbuzzo3/__init__.pyi diff --git a/fizzbuzz/fizzbuzzo3/repl_notes.txt b/python/fizzbuzz/fizzbuzzo3/repl_notes.txt similarity index 100% rename from fizzbuzz/fizzbuzzo3/repl_notes.txt rename to python/fizzbuzz/fizzbuzzo3/repl_notes.txt diff --git a/fizzbuzz/fizzbuzzpy/__init__.py b/python/fizzbuzz/fizzbuzzpy/__init__.py similarity index 100% rename from fizzbuzz/fizzbuzzpy/__init__.py rename to python/fizzbuzz/fizzbuzzpy/__init__.py diff --git a/fizzbuzz/fizzbuzzpy/fizzbuzzer.py b/python/fizzbuzz/fizzbuzzpy/fizzbuzzer.py similarity index 100% rename from fizzbuzz/fizzbuzzpy/fizzbuzzer.py rename to python/fizzbuzz/fizzbuzzpy/fizzbuzzer.py