misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-04-12 12:28:10 +02:00
parent 98a959c100
commit ae931b2532
Failed to generate hash of commit

View file

@ -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)