diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 4bb0aa3..f6676bb 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -12,15 +12,23 @@ requires-python = ">= 3.8" [tool.rye] managed = true virtual = true -dev-dependencies = [ + +[tool.rye.dev-dependencies] +base = [ "pip", - "pytest>=7.0.0", - "black>=23.0.0", - "isort>=5.0.0", - "maturin>=1.7,<2.0", "tomli>=2.0.2", "tomli-w>=1.1.0", ] +testing = [ + "pytest>=7.0.0" +] +formatting = [ + "black>=23.0.0", + "isort>=5.0.0" +] +build = [ + "maturin>=1.7,<2.0" +] [tool.rye.workspace] members = ["lyric-*"] @@ -53,4 +61,10 @@ fmt-check = { chain = [ "isort --check lyric-py", ]} # Sync version number across all packages -sync-version = "python scripts/sync_version.py" \ No newline at end of file +sync-version = "python scripts/sync_version.py" + +[tool.rye.scripts.dependencies.sync-version] +dependencies = [ + "tomli>=2.0.2", + "tomli-w>=1.1.0", +] \ No newline at end of file