From 97d42492e5276357a846a1453ac2476901ffacc7 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Wed, 2 May 2018 14:41:15 +1000 Subject: [PATCH] Fix python setup process for share/static dir contents --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 99222ef0..460eb476 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,9 @@ data_files=[ (os.path.join(sys.prefix, 'share/onionshare/images'), file_list('share/images')), (os.path.join(sys.prefix, 'share/onionshare/locale'), file_list('share/locale')), (os.path.join(sys.prefix, 'share/onionshare/templates'), file_list('share/templates')), - (os.path.join(sys.prefix, 'share/onionshare/static'), file_list('share/static')) + (os.path.join(sys.prefix, 'share/onionshare/static/css'), file_list('share/static/css')), + (os.path.join(sys.prefix, 'share/onionshare/static/img'), file_list('share/static/img')), + (os.path.join(sys.prefix, 'share/onionshare/static/js'), file_list('share/static/js')) ] if platform.system() != 'OpenBSD': data_files.append(('/usr/share/nautilus-python/extensions/', ['install/scripts/onionshare-nautilus.py']))