forked from picklepete/pyicloud
-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (106 loc) · 2.72 KB
/
pyproject.toml
File metadata and controls
124 lines (106 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
# Same as Black.
line-length = 88
indent-width = 4
# Assume Python 3.10
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = [".git", ".tox", "build", "lib"]
addopts = ["--disable-socket", "--allow-unix-socket"]
[tool.coverage.run]
branch = true
omit = [
"examples.py",
"conftest.py",
"fetch_devices_error.py",
"tests/**",
"test*.py",
]
[tool.coverage.paths]
source = [
"pyicloud/",
"tests/"
]
[tool.isort]
profile = "black"
[tool.setuptools_scm]
local_scheme = "no-local-version"
[build-system]
requires = ["setuptools >= 77.0,< 82.1", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "pyicloud"
dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
description = "PyiCloud is a module which allows pythonistas to interact with iCloud webservices."
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE.txt"]
authors = [
{name = "The PyiCloud Authors"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries"
]
keywords = ["icloud", "find-my-iphone"]
[project.urls]
homepage = "https://github.com/timlaing/pyicloud"
download = "https://github.com/timlaing/pyicloud/releases/latest"
bug_tracker = "https://github.com/timlaing/pyicloud/issues"
repository = "https://github.com/timlaing/pyicloud"
[project.scripts]
icloud = "pyicloud.cmdline:main"
[dependency-groups]
dev = [
"grpcio-tools>=1.76.0",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["pyicloud*"]
[tool.setuptools.package-data]
"pyicloud.services.notes.protobuf" = ["*.pyi"]
[tool.setuptools.dynamic]
readme = {file = "README.md", content-type = "text/markdown"}
dependencies = {file = ["requirements.txt"]}
optional-dependencies = {test = {file = ["requirements_test.txt"]}}