summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-10 19:13:15 +0200
committerKali Kaneko <kali@leap.se>2013-09-11 16:44:46 +0200
commita114a0003695ed8a31277b83f99dd64a100988ed (patch)
tree026ae32add294117b54ab94ad0abfc9b2e2c8958 /setup.py
parentf72e3c5d02b5d8c2272359b2bd6cd4963ddfe9cb (diff)
do not try to install globally.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 5099c1b1..88cb0e40 100755
--- a/setup.py
+++ b/setup.py
@@ -135,17 +135,17 @@ import platform
_system = platform.system()
IS_LINUX = True if _system == "Linux" else False
+data_files = []
+
if IS_LINUX:
+ # XXX use check_for_permissions to install data
+ # globally. See #3805
data_files = [
- # ("share/man/man1",
- # ["docs/man/bitmask.1"]),
("share/polkit-1/actions",
["pkg/linux/polkit/net.openvpn.gui.leap.policy"]),
- ("/etc/leap/",
+ ("etc/leap/",
["pkg/linux/resolv-update"]),
]
-else:
- data_files = []
setup(
name="leap.bitmask",