opensnitch/ui/setup.py
Gustavo Iñiguez Goia 7c647f5782 fixed UI icons
- display correctly the connection status with the daemon whe it's
  disconnected.
- display correctly the icon (at least on gnome).
- changed "active" icon to svg, to fix a size problem displaying
  notifications on gnome.
2020-04-09 18:45:05 +02:00

36 lines
1.5 KiB
Python

from setuptools import setup, find_packages
import os
import sys
path = os.path.abspath(os.path.dirname(__file__))
sys.path.append(path)
from opensnitch.version import version
setup(name='opensnitch-ui',
version=version,
description='Prompt service and UI for the opensnitch application firewall.',
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.',
url='https://github.com/evilsocket/opensnitch',
author='Simone "evilsocket" Margaritelli',
author_email='evilsocket@protonmail.com',
license='GPL-3.0',
packages=find_packages(),
include_package_data = True,
package_data={'': ['*.*']},
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']),
('/usr/share/icons/hicolor/48x48/apps', ['resources/opensnitch-ui.png'])],
scripts = [ 'bin/opensnitch-ui' ],
zip_safe=False)