-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
pyproject.toml
109 lines (100 loc) · 2.53 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.2", "build"]
build-backend = "setuptools.build_meta"
[project]
name = "maestral"
version = "1.9.4"
authors = [{ name = "Sam Schott", email = "[email protected]" }]
license = { text = "MIT" }
description = "Open-source Dropbox client for macOS and Linux."
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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 :: 3 :: Only",
]
urls = { Homepage = "https://maestral.app" }
requires-python = ">=3.8"
dependencies = [
"click>=8.0.2",
"desktop-notifier>=5.0.0",
"dropbox>=11.28.0,<13.0",
"fasteners>=0.15",
"keyring>=22",
"keyrings.alt>=3.1.0",
"importlib_metadata>3.6",
"packaging",
"pathspec>=0.5.8",
"Pyro5>=5.10",
"requests>=2.16.2",
"rich",
"rubicon-objc>=0.4.1;sys_platform=='darwin'",
"setuptools",
"survey>=4.0,<6.0",
"typing_extensions",
"watchdog>=2.0.1",
"xattr",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
gui = [
"maestral-qt>=1.9.4;sys_platform=='linux'",
"maestral-cocoa>=1.9.4;sys_platform=='darwin'",
]
syslog = ["systemd-python"]
lint = [
"black",
"flake8",
"flake8-pyproject",
"isort",
"mypy",
"pyupgrade",
"types-requests",
"types-setuptools",
]
test = [
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-rerunfailures",
]
docs = [
"furo==2024.8.6",
"sphinx==7.4.7",
"sphinxext-opengraph==0.9.1",
"sphinx-autoapi==3.3.1",
"sphinx-mdinclude==0.6.2",
]
dev = [
"bump2version",
"maestral[lint,test]",
]
[project.scripts]
maestral = "maestral.cli:main"
[tool.setuptools.data-files]
"share/icons/hicolor/512x512/apps" = ["src/maestral/resources/maestral.png"]
[tool.flake8]
ignore = "E203,E501,E704,W503,H306"
statistics = "True"
[tool.mypy]
python_version = "3.8"
strict = true
# Disable some strict flags because of untyped dependencies:
disallow_subclassing_any = false
disallow_untyped_calls = false
warn_return_any = false
ignore_missing_imports = true
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311", "py312"]
[tool.isort]
profile = "black"