From eda7c85432ac543a29246c301e4cb1b4a305c02c Mon Sep 17 00:00:00 2001 From: Jimmy Angel Date: Mon, 29 Jan 2024 11:05:58 -0500 Subject: [PATCH 1/3] Add support for poetry --- README.rst | 4 ++++ pyproject.toml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 pyproject.toml diff --git a/README.rst b/README.rst index c3b8b07e..0885cb6a 100644 --- a/README.rst +++ b/README.rst @@ -48,6 +48,10 @@ The development version can be installed from Github :: $ pip install https://github.com/mher/flower/zipball/master#egg=flower +Installing `flower` with `poetry ` :: + + $ poetry install flower + Usage ----- diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..c402def5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,52 @@ +[tool.poetry] +name = "flower" +version = "2.0.1" +description = "Celery Flower" +authors = ["Mher Movsisyan "] +license = "BSD" +readme = "README.rst" +homepage = "https://github.com/mher/flower" +repository = "https://github.com/mher/flower" +include = ["templates/*", "static/*.*", "static/**/*.*", "static/**/**/*.*"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", + "Topic :: System :: Distributed Computing", + "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", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Operating System :: OS Independent", +] + +[tool.poetry.dependencies] +python = ">=3.8.0,<4.0" +celery = "^5.3.6" +tornado = ">=5.0.0,<7.0.0" +prometheus-client = "^0.19.0" +humanize = "^4.9.0" +pytz = "^2023.4" + +[tool.poetry.group.dev.dependencies] +redis = "^5.0.1" +pylint = "^3.0.3" + +[tool.poetry.group.docs.dependencies] +sphynx = "^0.0.3" +sphinxcontrib-fulltoc = "^1.2.0" +sphinxcontrib-httpdomain = "^1.8.1" +sphinxcontrib-redoc = "^1.6.0" + +[tool.poetry.plugins."celery.commands"] +flower = "flower.command:flower" + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" From 7719fa4058190b839aef902e4fda7dad07458491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Angel=20P=C3=A9rez=20D=C3=ADaz?= Date: Wed, 31 Jan 2024 22:41:31 -0500 Subject: [PATCH 2/3] Fixed typo in README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 0885cb6a..a892e0bf 100644 --- a/README.rst +++ b/README.rst @@ -50,7 +50,7 @@ The development version can be installed from Github :: Installing `flower` with `poetry ` :: - $ poetry install flower + $ poetry install Usage ----- From c21c54d07232f24bb7776c9e7d8deca92090e64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Angel=20P=C3=A9rez=20D=C3=ADaz?= Date: Mon, 12 Feb 2024 08:04:31 -0500 Subject: [PATCH 3/3] Updated README.rst to fix the install command with poetry --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index a892e0bf..bb8e0260 100644 --- a/README.rst +++ b/README.rst @@ -50,7 +50,7 @@ The development version can be installed from Github :: Installing `flower` with `poetry ` :: - $ poetry install + $ poetry add flower && poetry install Usage -----