2018-04-11 15:35:29 +02:00
|
|
|
from setuptools import setup, find_packages
|
2018-04-10 16:56:29 +02:00
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
path = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
sys.path.append(path)
|
|
|
|
|
2018-04-11 15:35:29 +02:00
|
|
|
from opensnitch.version import version
|
2023-02-06 21:59:19 +01:00
|
|
|
|
2018-04-10 16:56:29 +02:00
|
|
|
setup(name='opensnitch-ui',
|
2018-04-11 15:35:29 +02:00
|
|
|
version=version,
|
2018-04-10 16:56:29 +02:00
|
|
|
description='Prompt service and UI for the opensnitch application firewall.',
|
2020-02-18 23:40:07 +01:00
|
|
|
long_description='GUI for the opensnitch application firewall\n\
|
|
|
|
opensnitch-ui is a GUI for opensnitch written in Python.\n\
|
|
|
|
It allows the user to view live outgoing connections, as well as search\n\
|
|
|
|
to make connections.\n\
|
|
|
|
.\n\
|
|
|
|
The user can decide if block the outgoing connection based on properties of\n\
|
|
|
|
the connection: by port, by uid, by dst ip, by program or a combination\n\
|
|
|
|
of them.\n\
|
|
|
|
.\n\
|
|
|
|
These rules can last forever, until the app restart or just one time.',
|
2018-04-10 16:56:29 +02:00
|
|
|
url='https://github.com/evilsocket/opensnitch',
|
|
|
|
author='Simone "evilsocket" Margaritelli',
|
|
|
|
author_email='evilsocket@protonmail.com',
|
2020-02-18 23:40:07 +01:00
|
|
|
license='GPL-3.0',
|
2018-04-11 15:35:29 +02:00
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data = True,
|
2018-04-14 04:29:38 +02:00
|
|
|
package_data={'': ['*.*']},
|
2020-04-09 18:45:05 +02:00
|
|
|
data_files=[('/usr/share/applications', ['resources/opensnitch_ui.desktop']),
|
|
|
|
('/usr/share/kservices5', ['resources/kcm_opensnitch.desktop']),
|
|
|
|
('/usr/share/icons/hicolor/scalable/apps', ['resources/opensnitch-ui.svg']),
|
2023-02-06 21:59:19 +01:00
|
|
|
('/usr/share/icons/hicolor/48x48/apps', ['resources/opensnitch-ui.png']),
|
|
|
|
('/usr/share/metainfo', ['resources/io.github.evilsocket.opensnitch.appdata.xml'])],
|
2018-04-10 16:56:29 +02:00
|
|
|
scripts = [ 'bin/opensnitch-ui' ],
|
|
|
|
zip_safe=False)
|