1
0
mirror of https://github.com/bpozdena/OneDriveGUI.git synced 2026-10-24 04:59:17 +03:00
Files
OneDriveGUI/pyproject.toml
Boris Pozdena 8a781a7e18 Fix packaging follow-ups from PR #301
- Fix autostart Exec fallback: the package now uses relative imports, so
  a desktop entry pointing at the script path fails at login. Use
  "-m onedrive_gui" with PYTHONPATH instead, and recognise the pip
  console script "onedrive-gui" when it is on PATH.
- AppImageBuilder.yml: revert accidental python3.10 -> python3.12 change,
  drop the now-redundant "cp src AppDir/usr" (the wheel install covers
  it), quote the *.whl glob.
- pyproject.toml: read version dynamically from options.py so it is not
  duplicated in a third place; declare runtime dependencies; remove the
  pyproject sed step from build_appimage.sh.
- MANIFEST.in: ship the resources/ directory only; stop packaging .ui
  sources and remove the stray mainwindow.ui.autosave.
- Ignore build/, dist/ and *.egg-info; update README wheel filename.
2026-09-15 14:26:13 +02:00

23 lines
581 B
TOML

[project]
name = "onedrive-gui"
dynamic = ["version"]
description = "A simple GUI for Linux OneDrive Client, with multi-account support."
readme = "README.md"
requires-python = ">=3.8"
license-files = ["LICENSE"]
dependencies = [
"PySide6_Essentials",
"requests",
]
[project.scripts]
onedrive-gui = "onedrive_gui.OneDriveGUI:main"
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
# Single source of truth for the version is src/onedrive_gui/options.py
version = { attr = "onedrive_gui.options.version" }