From 01713a5b1331eaf98aa078244017c75649607bb4 Mon Sep 17 00:00:00 2001 From: Robbe Sneyders Date: Mon, 6 Mar 2023 15:08:57 +0100 Subject: [PATCH] Add Poetry (#1) --- .gitignore | 3 +++ README.MD => README.md | 0 pyproject.toml | 55 ++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 56 insertions(+), 2 deletions(-) rename README.MD => README.md (100%) diff --git a/.gitignore b/.gitignore index 57f0a7e58..836a6ba72 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,6 @@ Thumbs.db # Virtual environments *venv *.venv + +# Poetry +*.lock \ No newline at end of file diff --git a/README.MD b/README.md similarity index 100% rename from README.MD rename to README.md diff --git a/pyproject.toml b/pyproject.toml index 5664dcc82..4f9b4dfab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,54 @@ +[tool.poetry] +name = "Express" +version = "0.1.dev0" +description = "Express - Composable pipelines for foundation model finetuning" +readme = "README.md" +keywords = ["data", "machine learning", "finetuning", "foundation models"] +license = "Apache-2.0" +authors = [ + "Simon Slangen ", + "Philippe Moussalli ", + "Robbe Sneyders ", + "Georges Lorré ", + "Niels Rogge ", +] +maintainers = [ + "Philippe Moussalli ", + "Robbe Sneyders ", + "Georges Lorré ", + "Niels Rogge ", +] +repository = "https://github.com/ml6-team/express" +include = ["*.txt", "*.rst", "*.md"] +classifiers = [ + "Development Status :: 2 - Pre-Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Topic :: Software Development", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", + "Typing :: Typed", +] + +[tool.poetry.dependencies] +python = "^3.8" + +[tool.poetry.group.test.dependencies] +bandit = { version = "^1.7.4", extras = ["toml"] } +liccheck = "^0.7.3" +pylint = "^2.5.3" + [tool.bandit] -exclude_dirs = ["*/notebooks/*", - "*/mlpipelines/components/sd_finetuning_component/src/train_text_to_image.py"] \ No newline at end of file +exclude_dirs = ["*/mlpipelines/components/sd_finetuning_component/src/train_text_to_image.py"] + +[build-system] +requires = ["poetry-core>=1.2.0"] +build-backend = "poetry.core.masonry.api"