mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-17 17:24:15 -05:00
- 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
11 lines
268 B
Python
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,
|
|
)
|