#!/usr/bin/env python3 # # $Id: setup.py,v 1.32 2010/10/17 15:47:21 ghantoos Exp $ # # Copyright (C) 2008-2009 Ignace Mouzannar (ghantoos) # # This file is part of lshell # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . from distutils.core import setup from edupals.i18n import poinstaller import sys import os if __name__ == '__main__': pinstaller = poinstaller.PoInstaller('translations','bell-scheduler','') pinstaller.build() polist = pinstaller.setup_install() listdir=map(lambda x:os.path.join('bell-scheduler','data-files','banners',x),os.listdir('bell-scheduler/data-files/banners')) setup(name='bell-scheduler', version='0.1', description='Bell Scheduler', long_description="""""", author='Lliurex Team', author_email='juapesai@hotmail.com', maintainer='Juan Ramon Pelegrina', maintainer_email='juapesai@hotmail.com', keywords=['software','scheduler','alarms'], url='http://www.lliurex.net', license='GPL', platforms='UNIX', packages = ['bellscheduler'], package_dir = {'bellscheduler':'bell-scheduler/python3-bellscheduler'}, package_data = {'bellscheduler':['rsrc/*']}, data_files = [('bin',['bell-scheduler/BellSchedulerPlayer']),('sbin',['bell-scheduler/bell-scheduler']), ('sbin',['bell-scheduler/bell-scheduler-gui']), ('share/bell-scheduler/banners',listdir), ] + polist , classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console' 'Intended Audience :: End Users', 'License :: OSI Approved :: GNU General Public License v3', 'Operating System :: POSIX', 'Programming Language :: Python', 'Topic :: Software', 'Topic :: Install apps', ], ) pinstaller.clean()