Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for poetry #1355

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://python-poetry.org/>` ::

$ poetry install flower
JimScope marked this conversation as resolved.
Show resolved Hide resolved

Usage
-----

Expand Down
52 changes: 52 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[tool.poetry]
name = "flower"
version = "2.0.1"
description = "Celery Flower"
authors = ["Mher Movsisyan <[email protected]>"]
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"