Improved movie poster fetching
[butaca:maevies.git] / setup.py
1 # -*- coding: utf-8 -*-
2 #!/usr/bin/env python
3
4 from distutils.core import setup
5 import sys
6 import os
7
8 local_src = os.path.join(os.path.dirname(__file__), 'src')
9 if os.path.exists(local_src):
10     sys.path = [local_src] + sys.path
11
12 from Maevies.lib import constants
13
14 setup(name=constants.APP_NAME.lower(),
15       version=constants.APP_VERSION,
16       description='A movie advisor for Maemo',
17       author='Simón Pena',
18       author_email='spenap@gmail.com',
19       url='http://gitorious.org/butaca/maevies',
20       scripts=['maevies'],
21       package_dir={'' : 'src'},
22       packages=['Maevies', 'Maevies.lib'],
23       data_files=[('share/icons/hicolor/scalable/apps', ['data/maevies.png']),
24                   ('share/applications/hildon', ['data/maevies.desktop']),
25                   ],
26       )