mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Remove some stale Qubes refs in setup.py
This commit is contained in:
parent
01d63e4eda
commit
a3bb740b19
1 changed files with 0 additions and 9 deletions
9
setup.py
9
setup.py
|
@ -7,17 +7,11 @@ import setuptools
|
||||||
with open("share/version.txt") as f:
|
with open("share/version.txt") as f:
|
||||||
version = f.read().strip()
|
version = f.read().strip()
|
||||||
|
|
||||||
qubes_target = os.environ.get("QUBES_TARGET") == "1"
|
|
||||||
if qubes_target:
|
|
||||||
print("Target: Qubes OS")
|
|
||||||
|
|
||||||
|
|
||||||
def file_list(path):
|
def file_list(path):
|
||||||
files = []
|
files = []
|
||||||
for filename in os.listdir(path):
|
for filename in os.listdir(path):
|
||||||
if os.path.isfile(os.path.join(path, filename)):
|
if os.path.isfile(os.path.join(path, filename)):
|
||||||
if qubes_target and filename.endswith("container.tar.gz"):
|
|
||||||
continue # ignore container when building a Qubes package
|
|
||||||
files.append(os.path.join(path, filename))
|
files.append(os.path.join(path, filename))
|
||||||
return files
|
return files
|
||||||
|
|
||||||
|
@ -34,9 +28,6 @@ def data_files_list():
|
||||||
),
|
),
|
||||||
("share/dangerzone", file_list("share")),
|
("share/dangerzone", file_list("share")),
|
||||||
]
|
]
|
||||||
if qubes_target:
|
|
||||||
# Qubes RPC policy
|
|
||||||
data_files.append(("/etc/qubes-rpc/", ["qubes/dz.Convert"]))
|
|
||||||
return data_files
|
return data_files
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue