mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
98a959c100
commit
ae931b2532
1 changed files with 1 additions and 12 deletions
13
ui/setup.py
13
ui/setup.py
|
@ -7,17 +7,6 @@ path = os.path.abspath(os.path.dirname(__file__))
|
|||
sys.path.append(path)
|
||||
|
||||
from opensnitch.version import version
|
||||
|
||||
def get_data_files():
|
||||
data = []
|
||||
|
||||
for f in ('dialogs', 'res'):
|
||||
for folder, subdirs, files in os.walk( 'opensnitch/%s/' % f ):
|
||||
for fname in files:
|
||||
if fname[0] != '.':
|
||||
data.append( os.path.join( folder, fname ) )
|
||||
|
||||
return data
|
||||
|
||||
setup(name='opensnitch-ui',
|
||||
version=version,
|
||||
|
@ -28,6 +17,6 @@ setup(name='opensnitch-ui',
|
|||
license='GPL',
|
||||
packages=find_packages(),
|
||||
include_package_data = True,
|
||||
package_data={'': '*.*'},#get_data_files()},
|
||||
package_data={'': '*.*'},
|
||||
scripts = [ 'bin/opensnitch-ui' ],
|
||||
zip_safe=False)
|
||||
|
|
Loading…
Add table
Reference in a new issue