source: bell-scheduler/trunk/fuentes/setup.py @ 6854

Last change on this file since 6854 was 6854, checked in by jrpelegrina, 20 months ago

Fix setup.py files

File size: 2.3 KB
Line 
1#!/usr/bin/env python3
2#
3# $Id: setup.py,v 1.32 2010/10/17 15:47:21 ghantoos Exp $
4#
5#    Copyright (C) 2008-2009  Ignace Mouzannar (ghantoos) <ghantoos@ghantoos.org>
6#
7#    This file is part of lshell
8#
9#    This program is free software: you can redistribute it and/or modify
10#    it under the terms of the GNU General Public License as published by
11#    the Free Software Foundation, either version 3 of the License, or
12#    (at your option) any later version.
13#
14#    This program is distributed in the hope that it will be useful,
15#    but WITHOUT ANY WARRANTY; without even the implied warranty of
16#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17#    GNU General Public License for more details.
18#
19#    You should have received a copy of the GNU General Public License
20#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
22from distutils.core import setup
23from edupals.i18n import poinstaller
24import sys
25import os
26
27if __name__ == '__main__':
28       
29        pinstaller = poinstaller.PoInstaller('translations','bell-scheduler','')
30        pinstaller.build()
31        polist = pinstaller.setup_install()
32        listdir=map(lambda x:os.path.join('bell-scheduler','data-files','banners',x),os.listdir('bell-scheduler/data-files/banners'))
33
34
35        setup(name='bell-scheduler',
36                version='0.1',
37                description='Bell Scheduler',
38                long_description="""""",
39                author='Lliurex Team',
40                author_email='juapesai@hotmail.com',
41                maintainer='Juan Ramon Pelegrina',
42                maintainer_email='juapesai@hotmail.com',
43                keywords=['software','scheduler','alarms'],
44                url='http://www.lliurex.net',
45                license='GPL',
46                platforms='UNIX',
47                packages = ['bellscheduler'],
48                package_dir = {'bellscheduler':'bell-scheduler/python3-bellscheduler'},
49                package_data = {'bellscheduler':['rsrc/*']},
50                data_files = [('share/applications',['bell-scheduler/data-files/bell-scheduler.desktop']),
51                              ('sbin',['bell-scheduler/bell-scheduler']),
52                              ('share/bell-scheduler/banners',listdir),
53                              ] + polist ,
54                classifiers=[
55                        'Development Status :: 4 - Beta',
56                        'Environment :: Console'
57                        'Intended Audience :: End Users',
58                        'License :: OSI Approved :: GNU General Public License v3',
59                        'Operating System :: POSIX',
60                        'Programming Language :: Python',
61                        'Topic :: Software',
62                        'Topic :: Install apps',
63                        ],
64        )
65        pinstaller.clean()
66
Note: See TracBrowser for help on using the repository browser.