127 lines
2.5 KiB
TOML
127 lines
2.5 KiB
TOML
# [tool.poetry]
|
|
[project]
|
|
dynamic = ["version"]
|
|
name = "specklepy"
|
|
# version = "2.17.14"
|
|
description = "The Python SDK for Speckle 2.0"
|
|
readme = "README.md"
|
|
authors = [{ name = "Speckle Systems", email = "devops@speckle.systems" }]
|
|
# license = ""
|
|
license = { text = "Apache-2.0" }
|
|
requires-python = ">=3.10.0, <4.0"
|
|
dependencies = [
|
|
"appdirs>=1.4.4",
|
|
"attrs>=24.3.0",
|
|
"deprecated>=1.2.15",
|
|
"gql[requests,websockets]>=3.5.0",
|
|
"httpx>=0.28.1",
|
|
"pydantic>=2.10.5",
|
|
"pydantic-settings>=2.7.1",
|
|
"stringcase>=1.2.0",
|
|
"ujson>=5.10.0",
|
|
]
|
|
|
|
[project.urls]
|
|
repository = "https://github.com/specklesystems/specklepy"
|
|
documentation = "https://speckle.guide/dev/py-examples.html"
|
|
homepage = "https://speckle.systems/"
|
|
# packages = [
|
|
# { include = "specklepy", from = "src" },
|
|
# { include = "speckle_automate", from = "src" },
|
|
# ]
|
|
|
|
# [build-system]
|
|
|
|
|
|
# [tool.poetry.dependencies]
|
|
# [project.dependencies]
|
|
# pydantic = "^2.5"
|
|
# appdirs = "^1.4.4"
|
|
# gql = { extras = ["requests", "websockets"], version = "^3.3.0" }
|
|
# ujson = "^5.3.0"
|
|
# Deprecated = "^1.2.13"
|
|
# stringcase = "^1.2.0"
|
|
# attrs = "^23.1.0"
|
|
# httpx = "^0.25.0"
|
|
# pydantic-settings = "^2.6.1"
|
|
|
|
# [tool.poetry.group.dev.dependencies]
|
|
# black = "24.10.0"
|
|
# isort = "^5.13.2"
|
|
# pylint = "^3.3.2"
|
|
# mypy = "^0.982"
|
|
# ruff = "^0.8.2"
|
|
|
|
# pytest = "^7.1.3"
|
|
# pytest-asyncio = "^0.23.0"
|
|
# pytest-ordering = "^0.6"
|
|
# pytest-cov = "^3.0.0"
|
|
# devtools = "^0.8.0"
|
|
# pre-commit = "^2.20.0"
|
|
# commitizen = "^3.13.0"
|
|
# types-deprecated = "^1.2.9"
|
|
# types-ujson = "^5.6.0.0"
|
|
# types-requests = "^2.28.11.5"
|
|
|
|
[tool.black]
|
|
exclude = '''
|
|
/(
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
include = '\.pyi?$'
|
|
line-length = 88
|
|
target-version = ["py39", "py310", "py311", "py312", "py313"]
|
|
|
|
[tool.commitizen]
|
|
name = "cz_conventional_commits"
|
|
version = "2.9.2"
|
|
tag_format = "$version"
|
|
|
|
# [build-system]
|
|
# requires = ["poetry-core>=1.0.0"]
|
|
# build-backend = "poetry.core.masonry.api"
|
|
|
|
# [tool.isort]
|
|
# profile = "black"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
# Pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
"UP",
|
|
# flake8-bugbear
|
|
"B",
|
|
# flake8-simplify
|
|
"SIM",
|
|
# isort
|
|
"I",
|
|
]
|
|
ignore = ["UP006", "UP007", "UP035"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"commitizen>=4.1.0",
|
|
"devtools>=0.12.2",
|
|
"pre-commit>=4.0.1",
|
|
"pytest>=8.3.4",
|
|
"pytest-asyncio>=0.25.2",
|
|
"pytest-cov>=6.0.0",
|
|
"pytest-ordering>=0.6",
|
|
"types-deprecated>=1.2.15.20241117",
|
|
"types-requests>=2.32.0.20241016",
|
|
"types-ujson>=5.10.0.20240515",
|
|
]
|