mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 15:35:13 -04:00
Make snapcraft work
This commit is contained in:
parent
9566e34a0b
commit
1385aa068f
3 changed files with 16 additions and 21 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/usr/bin/env python3
|
||||
# This file is used to build the Snapcraft and Flatpak packages
|
||||
import setuptools
|
||||
import os
|
||||
|
||||
with open(os.path.join("..", "cli", "onionshare_cli", "resources", "version.txt")) as f:
|
||||
version = f.read().strip()
|
||||
# The version must be hard-coded because Snapcraft won't have access to ../cli
|
||||
version = "2.5"
|
||||
|
||||
setuptools.setup(
|
||||
name="onionshare",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue