From bfe739da3cf8b1f0c2a0177597bcc3d058e7d027 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 29 Mar 2024 08:34:00 +0100 Subject: [PATCH] Add pyproject.toml for ft_client installs --- ft_client/pyproject.toml | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ft_client/pyproject.toml diff --git a/ft_client/pyproject.toml b/ft_client/pyproject.toml new file mode 100644 index 000000000..b19757a64 --- /dev/null +++ b/ft_client/pyproject.toml @@ -0,0 +1,54 @@ +[build-system] +requires = ["setuptools >= 64.0.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "freqtrade_client" +dynamic = ["version"] + +authors = [ + {name = "Freqtrade Team"}, + {name = "Freqtrade Team", email = "freqtrade@protonmail.com"}, +] + +description = "Freqtrade - Client scripts" +# readme = "README.md" +requires-python = ">=3.9" +license = {text = "GPLv3"} +# license = "GPLv3" +classifiers = [ + "Environment :: Console", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Operating System :: MacOS", + "Operating System :: Unix", + "Topic :: Office/Business :: Financial :: Investment", +] + +dependencies = [ + 'requests >= 2.26.0', + 'python-rapidjson >= 1.0', +] + + +[project.urls] +Homepage = "https://github.com/freqtrade/freqtrade" +Documentation = "https://freqtrade.io" +"Bug Tracker" = "https://github.com/freqtrade/freqtrade/issues" + + +[project.scripts] +ft_rest = "freqtrade_client.ft_client:main" + +[tool.setuptools.packages.find] +where = ["."] +include = ["freqtrade_client*"] +exclude = ["tests", "tests.*"] +namespaces = true + +[tool.setuptools.dynamic] +version = {attr = "freqtrade_client.__version__"}