From a58be16a55d53c0807fc9b0c9c25b95a18aa5069 Mon Sep 17 00:00:00 2001 From: Miguel Guthridge Date: Mon, 8 Apr 2024 21:19:23 +1000 Subject: [PATCH] Split dependencies into groups --- poetry.lock | 70 ++++++++++++++++++++++++++++++++++++++++++++++---- pyproject.toml | 42 ++++++++++++++++++++++-------- 2 files changed, 97 insertions(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index f37de73..24edc32 100644 --- a/poetry.lock +++ b/poetry.lock @@ -16,6 +16,18 @@ files = [ pycodestyle = ">=2.11.0" tomli = {version = "*", markers = "python_version < \"3.11\""} +[[package]] +name = "bracex" +version = "2.4" +description = "Bash style brace expander." +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "bracex-2.4-py3-none-any.whl", hash = "sha256:efdc71eff95eaff5e0f8cfebe7d01adf2c8637c8c92edaf63ef348c241a82418"}, + {file = "bracex-2.4.tar.gz", hash = "sha256:a27eaf1df42cf561fed58b7a8f3fdf129d1ea16a81e1fadd1d17989bc6384beb"}, +] + [[package]] name = "certifi" version = "2024.2.2" @@ -290,14 +302,14 @@ dev = ["pyTest", "pyTest-cov"] [[package]] name = "flapi" -version = "0.4.1" +version = "1.0.0" description = "Remotely control FL Studio using the MIDI Controller Scripting API" category = "dev" optional = false -python-versions = ">=3.9,<4.0" +python-versions = "<4.0,>=3.9" files = [ - {file = "flapi-0.4.1-py3-none-any.whl", hash = "sha256:979a96e008c95d44068faa6e691f724377ec6469407b8cc7b6eaaf24324ba4c3"}, - {file = "flapi-0.4.1.tar.gz", hash = "sha256:f2a24de95c341a0cbe0ca35963e9f69f9636b5931c7b94ffef9e6504716d9c3a"}, + {file = "flapi-1.0.0-py3-none-any.whl", hash = "sha256:4d5472d9ac33631e7c32f1ad49303777b49a05bc2e6d0a4487f6fe13ba094235"}, + {file = "flapi-1.0.0.tar.gz", hash = "sha256:59361eed66c863530bb88c3ab46357562f3e2749b23b4f5b76ee9e228a1a8f95"}, ] [package.dependencies] @@ -613,6 +625,23 @@ Markdown = ">=3.3" markupsafe = ">=2.0.1" mkdocs = ">=1.1" +[[package]] +name = "mkdocs-awesome-pages-plugin" +version = "2.9.2" +description = "An MkDocs plugin that simplifies configuring page titles and their order" +category = "dev" +optional = false +python-versions = ">=3.7" +files = [ + {file = "mkdocs_awesome_pages_plugin-2.9.2-py3-none-any.whl", hash = "sha256:9c795587695bd1ee85a8b7e43293005418df5a8b9ef296a3e628be427b693b4d"}, + {file = "mkdocs_awesome_pages_plugin-2.9.2.tar.gz", hash = "sha256:c3f7d366ecfe99b64524c49a84d8e13c576c19a918ea2e6f59bb486a259313af"}, +] + +[package.dependencies] +mkdocs = ">=1" +natsort = ">=8.1.0" +wcmatch = ">=7" + [[package]] name = "mkdocs-gen-files" version = "0.4.0" @@ -763,6 +792,22 @@ files = [ {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, ] +[[package]] +name = "natsort" +version = "8.4.0" +description = "Simple yet flexible natural sorting in Python." +category = "dev" +optional = false +python-versions = ">=3.7" +files = [ + {file = "natsort-8.4.0-py3-none-any.whl", hash = "sha256:4732914fb471f56b5cce04d7bae6f164a592c7712e1c85f9ef585e197299521c"}, + {file = "natsort-8.4.0.tar.gz", hash = "sha256:45312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581"}, +] + +[package.extras] +fast = ["fastnumbers (>=2.0.0)"] +icu = ["PyICU (>=1.0.0)"] + [[package]] name = "packaging" version = "23.2" @@ -1162,7 +1207,22 @@ files = [ [package.extras] watchmedo = ["PyYAML (>=3.10)"] +[[package]] +name = "wcmatch" +version = "8.5.1" +description = "Wildcard/glob file name matcher." +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "wcmatch-8.5.1-py3-none-any.whl", hash = "sha256:24c19cedc92bc9c9e27f39db4e1824d72f95bd2cea32b254a47a45b1a1b227ed"}, + {file = "wcmatch-8.5.1.tar.gz", hash = "sha256:c0088c7f6426cf6bf27e530e2b7b734031905f7e490475fd83c7c5008ab581b3"}, +] + +[package.dependencies] +bracex = ">=2.1.1" + [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "2b15dc4ec523ee49d623b5c9244e050ec04d7ac692019fa314359c2d15016a44" +content-hash = "b5365989c3ec6e7b38dfb515cb65bc5d022c5c36332f32aa859531c2f93f2e1c" diff --git a/pyproject.toml b/pyproject.toml index 79b6981..7b442ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,28 +66,50 @@ packages = [ "Bug Tracker" = "https://github.com/MiguelGuthridge/FL-Studio-Api-Stubs/issues" +# Primary dependencies [tool.poetry.dependencies] python = "^3.10" -[tool.poetry.group.dev.dependencies] -flapi = "^0.4.0" -flake8-pyproject = "^1.2.3" -pytest = "^7.2.2" -mypy = "^1.1.1" -flake8 = "^6.0.0" -typing-extensions = "^4.5.0" -coverage = "^7.2.2" +# Build dependencies -- required to build the library +[tool.poetry.group.build.dependencies] +transdoc = "^0.2.1" + +# Docs depdnencies -- required to build documentation site +# Note build dependencies are also required +[tool.poetry.group.docs.dependencies] mkdocs = "^1.4.2" mkdocs-gen-files = "^0.4.0" mkdocs-material = "^8.5.11" mkdocstrings = { version = "^0.20.0", extras = ["python"] } +mkdocs-awesome-pages-plugin = "^2.9.2" + +# CI dependencies -- required to run continuous integration, including +# linting, type checking, etc +[tool.poetry.group.ci.dependencies] +coverage = "^7.2.2" autopep8 = "^2.0.2" -transdoc = "^0.2.1" +mypy = "^1.1.1" +typing-extensions = "^4.5.0" +flake8 = "^6.0.0" +flake8-pyproject = "^1.2.3" +pytest = "^7.2.2" +flapi = "^1.0.0" [tool.flake8] -exclude = ['.git', '__pycache__', 'old', 'build', 'dist'] +exclude = [ + '.git', + '__pycache__', + 'old', + 'build', + 'dist', + 'prebuild_docs', + 'build_lib', +] ignore = ['E501', 'W503'] +[tool.mypy] +exclude = ["build/*", "build*/*"] + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"