onionshare/desktop/setup.py
Timothy Cyrus 5e89cdcbc4 Make pyproject.toml PEP 621 compliant
- converted tool.poetry to PEP 621 (default behavior for poetry)
- converted setup.py to PEP 621 (recommended by setuptools)
- use pyproject.toml instead of version.txt
- use importlib instead of version.txt
- use PEP 621 dependency format in flatpak build scripts
- added tomli as a dev dependency (used in build scripts)
- removed version.txt (no longer used)
- cleaned up dependencies

- version is still in desktop/setup.py (unclear on how snapcraft uses it)
- poetry lockfiles need to be rebuilt
2025-10-20 14:07:33 -04:00

11 lines
268 B
Python

#!/usr/bin/env python3
# This file is used to build the Snapcraft and Flatpak packages
from setuptools import setup
# The version must be hard-coded because Snapcraft won't have access to ../cli
version = "2.6.3"
setup(
name="onionshare",
version=version,
)