source: trunk/debian/setup.py @ 2222

Revision 2222, 3.4 KB checked in by fma, 3 years ago (diff)

Changed dependencies

Line 
1# -*- coding: utf-8 -*-
2
3""" Panohead remote control.
4
5License
6=======
7
8 - B{Papywizard} (U{http://www.papywizard.org}) is Copyright:
9  - (C) 2007-2009 Frédéric Mantegazza
10
11This software is governed by the B{CeCILL} license under French law and
12abiding by the rules of distribution of free software.  You can  use,
13modify and/or redistribute the software under the terms of the CeCILL
14license as circulated by CEA, CNRS and INRIA at the following URL
15U{http://www.cecill.info}.
16
17As a counterpart to the access to the source code and  rights to copy,
18modify and redistribute granted by the license, users are provided only
19with a limited warranty  and the software's author,  the holder of the
20economic rights,  and the successive licensors  have only  limited
21liability.
22
23In this respect, the user's attention is drawn to the risks associated
24with loading,  using,  modifying and/or developing or reproducing the
25software by the user in light of its specific status of free software,
26that may mean  that it is complicated to manipulate,  and  that  also
27therefore means  that it is reserved for developers  and  experienced
28professionals having in-depth computer knowledge. Users are therefore
29encouraged to load and test the software's suitability as regards their
30requirements in conditions enabling the security of their systems and/or
31data to be ensured and,  more generally, to use and operate it in the
32same conditions as regards security.
33
34The fact that you are presently reading this means that you have had
35knowledge of the CeCILL license and that you accept its terms.
36
37Module purpose
38==============
39
40Installation for maemo plateform
41
42Implements
43==========
44
45- setup
46
47@author: Frédéric Mantegazza
48@copyright: (C) 2007-2009 Frédéric Mantegazza
49@license: CeCILL
50"""
51
52__revision__ = "$Id: setup.py 2157 2009-10-03 12:05:54Z fma $"
53
54import os
55import os.path
56import sys
57from distutils.core import setup
58
59from bdist_debian import bdist_debian
60
61path = os.path.dirname(__file__)
62sys.path.append(os.path.join(path, os.pardir))
63from papywizard.common import config
64
65VERSION_PACKAGE = 1
66
67
68setup(name="papywizard",
69      version="%s-%d" % (config.VERSION, VERSION_PACKAGE),
70      author="Frederic Mantegazza",
71      author_email="frederic.mantegazza@gbiloba.org",
72      maintainer="Frédéric Mantegazza",
73      maintainer_email="frederic.mantegazza@gbiloba.org",
74      url="http://www.papywizard.org",
75      description="Merlin/Orion panohead control software",
76      #long_description="",
77      download_url="http://www.papywizard.org/wiki/Download",
78      scripts=["papywizard.sh"],
79      #package_dir={'papywizard': "papywizard"},
80      packages=["papywizard", "papywizard.common", "papywizard.model",
81                "papywizard.controller", "papywizard.hardware",
82                "papywizard.view", "papywizard.scripts",
83                "papywizard.plugins"],
84      package_data={'papywizard': ["view/ui/*.ui", "common/papywizard.conf", "common/presets.xml"]},
85      data_files=[("share/applications", ["debian/papywizard.desktop"]),
86                  ('share/pixmaps', ["debian/icons/48x48/papywizard.png"]),
87                  ('share/icons/hicolor/48x48', ["debian/icons/48x48/papywizard.png"]),
88                  ('share/icons/hicolor/scalable/apps/', ["debian/icons/scalable/papywizard.png"])],
89
90      # Debian package
91      section="user/graphics",
92      depends="python, python-qt4, python-serial, python-bluez",
93      #icon="maemo/icons/26x26/papywizard.png",
94      cmdclass={'bdist_debian': bdist_debian},
95  )
96
Note: See TracBrowser for help on using the repository browser.