Commit e2de802d authored by Dan Pascu's avatar Dan Pascu

Removed build dependency on python-qt4

parent 2caed6a8
......@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Dan Pascu <dan@ag-projects.com>
Uploaders: Adrian Georgescu <ag@ag-projects.com>, Lucian Stanescu <luci@ag-projects.com>, Saul Ibarra <saul@ag-projects.com>
Build-Depends: cdbs (>= 0.4.47), debhelper (>= 7), python-all (>= 2.5), python-qt4 (>= 4.7), python-support
Build-Depends: cdbs (>= 0.4.47), debhelper (>= 7), python-all (>= 2.5), python-support
Standards-Version: 3.9.1
Homepage: http://icanblink.com
......
......@@ -2,16 +2,18 @@
from distutils.core import setup
import os
import re
import glob
from blink import __version__
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('blink/__init__.py').read()).group('version')
def find_packages(toplevel):
return [directory.replace('/', '.') for directory, subdirs, files in os.walk(toplevel) if '__init__.py' in files]
setup(name = "blink",
version = __version__,
version = get_version(),
author = "AG Projects",
author_email = "support@ag-projects.com",
url = "http://icanblink.com",
......@@ -27,7 +29,7 @@ setup(name = "blink",
],
packages = find_packages('blink'),
data_files = [('share/blink', glob.glob('resources/*.ui')),
('share/blink/icons', glob.glob('resources/icons/*.png')+glob.glob('resources/icons/*.svg')),
('share/blink/icons', glob.glob('resources/icons/*.png') + glob.glob('resources/icons/*.svg')),
('share/blink/sounds', glob.glob('resources/sounds/*.wav'))
],
scripts = ['bin/blink', 'bin/blink-settings']
......
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