Debian Codegraph @

setup.py

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
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 ('/usr/share/metainfo/', ['data/metainfo/io.github.costales.gufw.metainfo.xml']),
26 ('/etc/gufw/app_profiles', glob.glob("data/app_profiles/*.*")) ]
27
28 # Setup stage
29 setup(
30 name = "gufw",
31 version = "24.04.0",
32 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!",
33 author = "Marcos Alvarez Costales https://costales.github.io",
34 author_email = "https://costales.github.io",
35 url = "https://costales.github.io/projects/gufw/",
36 license = "GPL3",
37 data_files = data
38 )