| 1 |
#!/usr/bin/env python3 |
| 2 |
|
| 3 |
# Gufw - https://costales.github.io/projects/gufw/ |
| 4 |
# Copyright (C) 2008-2023 Marcos Alvarez Costales https://costales.github.io |
| 5 |
# |
| 6 |
# Gufw is free software; you can redistribute it and/or modify |
| 7 |
# it under the terms of the GNU General Public License as published by |
| 8 |
# the Free Software Foundation; either version 3 of the License, or |
| 9 |
# (at your option) any later version. |
| 10 |
# |
| 11 |
# Gufw is distributed in the hope that it will be useful, |
| 12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
# GNU General Public License for more details. |
| 15 |
# |
| 16 |
# You should have received a copy of the GNU General Public License |
| 17 |
# along with Gufw; if not, see http://www.gnu.org/licenses for more |
| 18 |
# information. |
| 19 |
|
| 20 |
from DistUtilsExtra.auto import setup |
| 21 |
import glob |
| 22 |
|
| 23 |
# Create data files |
| 24 |
data = [ ('/usr/share/polkit-1/actions/', ['policykit/actions/com.ubuntu.pkexec.gufw.policy']), |
| 25 |
('/etc/gufw/app_profiles', glob.glob("data/app_profiles/*.*")) ] |
| 26 |
|
| 27 |
# Setup stage |
| 28 |
setup( |
| 29 |
name = "gufw", |
| 30 |
version = "24.04.0", |
| 31 |
description = "An easy, intuitive, way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others!", |
| 32 |
author = "Marcos Alvarez Costales https://costales.github.io", |
| 33 |
author_email = "https://costales.github.io", |
| 34 |
url = "https://costales.github.io/projects/gufw/", |
| 35 |
license = "GPL3", |
| 36 |
data_files = data |
| 37 |
) |