Files
BrowserOS/packages/browseros/pyproject.toml
Nikhil 90512e58df feat: cli support for server ota (#286)
* feat: ota release

* chore: clean-up old binaries

* fix: ota cli sub-commands, path fixes

* chore: browseros server binary update

* fix: add sparkle sign_update path as ENV

* fix: CLOUDFLARE_API_TOKEN to env

* fix: use same upload r2 module

* feat: upload appcast is separate

* feat: write sparkle sign in python

* fix: handle appcast update

* fix: add missing sparkle.py file

* fix: remove redudant cli options in ota

* chore: 0.0.37 macos signed release

* chore: linux browseros server ota

* fix: copy binaries to temp file and then sign
2026-01-06 13:51:18 -08:00

72 lines
1.2 KiB
TOML

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "browseros"
version = "0.0.1"
description = "BrowserOS Build System"
requires-python = ">=3.12"
dependencies = [
"click>=8.0.0",
"typer>=0.12.0",
"PyYAML>=5.4.1",
"requests>=2.25.1",
"boto3>=1.34.0",
"python-dotenv>=1.0.0",
"Pillow>=10.0.0",
"cryptography>=41.0.0",
]
[project.scripts]
browseros = "build.browseros:app"
[tool.setuptools]
packages = [
"build",
"build.cli",
"build.common",
"build.modules",
"build.modules.resources",
"build.modules.patches",
"build.modules.setup",
"build.modules.package",
"build.modules.sign",
"build.modules.extract",
"build.modules.apply",
"build.modules.feature",
"build.modules.ota",
]
[tool.black]
line-length = 88
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| env
| _build
| buck-out
| build
| dist
| chromium_src
| chromium_src_bak
| third_party
)/
'''
[tool.isort]
profile = "black"
line_length = 88
skip_glob = ["env/*", "chromium_src/*", "chromium_src_bak/*", "third_party/*"]
[dependency-groups]
dev = ["ruff>=0.14.7", "pyright>=1.1.390"]