From 2e1045958d06d2661dbde7a3d62a535da1155dab Mon Sep 17 00:00:00 2001 From: Sergei Ivashchenko Date: Thu, 9 Nov 2023 10:13:27 +0000 Subject: [PATCH] refactor: LEAP-65: Add pdm section to pyproject.toml (#5021) --- pyproject.toml | 108 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3ce707559a4..5265e9e4a10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,3 +100,111 @@ force-exclude = ''' ''' target-version = ['py38'] + +[tool.pdm] +[tool.pdm.dev-dependencies] +test = [ + "pytest==7.2.2", + "pytest-cov==2.12.1", + "pytest-django==4.1.0", + "pytest-mock==1.10.3", + "requests-mock==1.5.2", + "tavern==2.3.0", + "fakeredis==1.5.0", + "pytest-env==0.6.2", + "responses==0.13.0", + "pytest-xdist~=2.5.0", + "psutil==5.9.4", + "freezegun~=1.2.2", + "pre-commit==3.3.3", + "s3transfer==0.7.0", + "mock>=5.1.0", + "moto>=4.2.6", + "label-studio-sdk @ https://github.com/HumanSignal/label-studio-sdk/archive/3c1e0513cba426ab8ada2259ca4e368dd1086baf.zip", +] +build = [ + "twine>=4.0.2", +] +[project] +name = "label-studio" +version = "1.9.3dev" +description = "Label Studio annotation tool" +authors = [ + {name = "Heartex", email = "hello@heartex.ai"}, +] +dependencies = [ + "wheel<=0.40.0,>=0.38.1", + "appdirs>=1.4.3", + "attr==0.3.1", + "attrs>=19.2.0", + "pyyaml>=6.0.0", + "azure-storage-blob>=12.6.0", + "boto~=2.49.0", + "boto3==1.28.58", + "botocore==1.31.58", + "bleach~=5.0.0", + "Django==3.2.20", + "django-storages==1.12.3", + "django-annoying==0.10.6", + "django-debug-toolbar==3.2.1", + "django-environ==0.10.0", + "django-filter==2.4.0", + "django-model-utils==4.1.1", + "django-rq==2.5.1", + "django-cors-headers==3.6.0", + "django-extensions==3.1.0", + "django-user-agents==0.4.0", + "django-ranged-fileresponse>=0.1.2", + "drf-dynamic-fields==0.3.0", + "djangorestframework==3.13.1", + "drf-flex-fields==0.9.5", + "humansignal-drf-yasg>=1.21.9", + "drf-generators==0.3.0", + "htmlmin==0.1.12", + "jsonschema==3.2.0", + "lockfile>=0.12.0", + "lxml>=4.2.5", + "defusedxml>=0.7.1", + "numpy==1.24.3", + "ordered-set==4.0.2", + "pandas>=0.24.0", + "protobuf<4.0.0,>=3.15.5", + "psycopg2-binary==2.9.6", + "pydantic<=1.11.0,>=1.7.3", + "python-dateutil>=2.8.1", + "pytz~=2022.1", + "requests==2.31.0", + "urllib3==1.26.17", + "rq==1.10.1", + "rules==2.2", + "ujson>=3.0.0", + "xmljson==0.2.0", + "colorama>=0.4.4", + "boxing>=0.1.4", + "redis~=3.5", + "sentry-sdk>=1.1.0", + "launchdarkly-server-sdk==7.5.0", + "python-json-logger==2.0.4", + "label-studio-converter==0.0.55", + "google-cloud-storage>=2.13.0", +] +requires-python = ">=3.8" +readme = "README.md" +license = {text = "Apache 2.0 LICENSE"} +classifiers = [ + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", +] +[project.urls] +Homepage = "https://github.com/heartexlabs/label-studio" +[project.optional-dependencies] +mysql = [ + "mysqlclient", +] +[project.scripts] +label-studio = "label_studio.server:main" + +[build-system] +requires = ["pdm-backend"] +build-backend = "pdm.backend"