forked from kwalus/Canopy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (124 loc) · 3.01 KB
/
pyproject.toml
File metadata and controls
135 lines (124 loc) · 3.01 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
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "canopy"
version = "0.4.59"
description = "Local-first peer-to-peer collaboration for humans and AI agents."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [
{ name = "Canopy Contributors" }
]
keywords = [
"local-first",
"peer-to-peer",
"mesh",
"collaboration",
"agents",
"chat",
"encrypted-messaging",
"websocket",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Chat",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security :: Cryptography",
"Topic :: System :: Distributed Computing",
]
dependencies = [
"Flask>=3.0.0",
"Werkzeug>=3.0.1",
"cryptography>=41.0.7",
"bcrypt>=4.1.2",
"python-dateutil>=2.8.2",
"Pillow>=10.4.0",
"zeroconf>=0.132.2",
"websockets>=12.0",
"msgpack>=1.0.7",
"base58>=2.1.1",
"waitress>=3.0.2",
"openpyxl>=3.1.5",
]
[project.optional-dependencies]
mcp = [
"mcp>=1.0.0",
"pydantic>=2.0.0",
"python-dotenv>=0.21.0",
]
tray = [
"pystray>=0.19.5",
"winotify>=1.1.0; sys_platform == 'win32'",
]
tray-build = [
"pyinstaller>=6.0",
]
dev = [
"pytest>=7.4.3",
"pytest-flask>=1.3.0",
"pytest-cov>=4.1.0",
"black>=23.11.0",
"flake8>=6.1.0",
]
[project.scripts]
canopy = "canopy.main:main"
canopy-tray = "canopy_tray.__main__:main"
canopy-mcp = "canopy.mcp.server:main"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["canopy*", "canopy_tray*"]
[tool.setuptools.package-data]
canopy = [
"ui/templates/*.html",
"ui/static/manifest.json",
"ui/static/icons/*",
"ui/static/css/*",
"ui/static/js/*",
]
canopy_tray = [
"assets/*",
]
[project.urls]
Homepage = "https://github.com/kwalus/Canopy"
Documentation = "https://github.com/kwalus/Canopy/blob/main/README.md"
Repository = "https://github.com/kwalus/Canopy"
Issues = "https://github.com/kwalus/Canopy/issues"
Changelog = "https://github.com/kwalus/Canopy/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"mypy>=1.19.1",
]
[tool.mypy]
python_version = "3.10"
files = ["canopy", "canopy_tray"]
namespace_packages = true
explicit_package_bases = true
show_error_codes = true
strict = false
warn_unused_configs = true
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = ["pystray", "winotify"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["waitress"]
ignore_missing_imports = true