| 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | |
|---|
| 3 | """ Panohead remote control. |
|---|
| 4 | |
|---|
| 5 | License |
|---|
| 6 | ======= |
|---|
| 7 | |
|---|
| 8 | - B{Papywizard} (U{http://www.papywizard.org}) is Copyright: |
|---|
| 9 | - (C) 2007-2009 Frédéric Mantegazza |
|---|
| 10 | |
|---|
| 11 | This software is governed by the B{CeCILL} license under French law and |
|---|
| 12 | abiding by the rules of distribution of free software. You can use, |
|---|
| 13 | modify and/or redistribute the software under the terms of the CeCILL |
|---|
| 14 | license as circulated by CEA, CNRS and INRIA at the following URL |
|---|
| 15 | U{http://www.cecill.info}. |
|---|
| 16 | |
|---|
| 17 | As a counterpart to the access to the source code and rights to copy, |
|---|
| 18 | modify and redistribute granted by the license, users are provided only |
|---|
| 19 | with a limited warranty and the software's author, the holder of the |
|---|
| 20 | economic rights, and the successive licensors have only limited |
|---|
| 21 | liability. |
|---|
| 22 | |
|---|
| 23 | In this respect, the user's attention is drawn to the risks associated |
|---|
| 24 | with loading, using, modifying and/or developing or reproducing the |
|---|
| 25 | software by the user in light of its specific status of free software, |
|---|
| 26 | that may mean that it is complicated to manipulate, and that also |
|---|
| 27 | therefore means that it is reserved for developers and experienced |
|---|
| 28 | professionals having in-depth computer knowledge. Users are therefore |
|---|
| 29 | encouraged to load and test the software's suitability as regards their |
|---|
| 30 | requirements in conditions enabling the security of their systems and/or |
|---|
| 31 | data to be ensured and, more generally, to use and operate it in the |
|---|
| 32 | same conditions as regards security. |
|---|
| 33 | |
|---|
| 34 | The fact that you are presently reading this means that you have had |
|---|
| 35 | knowledge of the CeCILL license and that you accept its terms. |
|---|
| 36 | |
|---|
| 37 | Module purpose |
|---|
| 38 | ============== |
|---|
| 39 | |
|---|
| 40 | Installation for maemo plateform |
|---|
| 41 | |
|---|
| 42 | Implements |
|---|
| 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 | |
|---|
| 54 | import os |
|---|
| 55 | import os.path |
|---|
| 56 | import sys |
|---|
| 57 | from distutils.core import setup |
|---|
| 58 | |
|---|
| 59 | from bdist_debian import bdist_debian |
|---|
| 60 | |
|---|
| 61 | path = os.path.dirname(__file__) |
|---|
| 62 | sys.path.append(os.path.join(path, os.pardir)) |
|---|
| 63 | from papywizard.common import config |
|---|
| 64 | |
|---|
| 65 | VERSION_PACKAGE = 1 |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | setup(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 | |
|---|