Commit 806e0a27 authored by Dan Pascu's avatar Dan Pascu

Made icon resource list more manageable

parent 62cb4dd2
#!/usr/bin/env python #!/usr/bin/env python
from distutils.core import setup from distutils.core import setup
from itertools import chain
import glob
import os import os
import re import re
import glob
def get_version(): def get_version():
...@@ -29,7 +30,7 @@ setup(name = "blink", ...@@ -29,7 +30,7 @@ setup(name = "blink",
], ],
packages = find_packages('blink'), packages = find_packages('blink'),
data_files = [('share/blink', glob.glob('resources/*.ui')), data_files = [('share/blink', glob.glob('resources/*.ui')),
('share/blink/icons', glob.glob('resources/icons/*.png') + glob.glob('resources/icons/*.svg') + glob.glob('resources/icons/*.ico') + glob.glob('resources/icons/*.mng')), ('share/blink/icons', list(chain(*(glob.glob('resources/icons/*.%s' % ext) for ext in ('png', 'svg', 'mng', 'ico'))))),
('share/blink/sounds', glob.glob('resources/sounds/*.wav')) ('share/blink/sounds', glob.glob('resources/sounds/*.wav'))
], ],
scripts = ['bin/blink'] scripts = ['bin/blink']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment