-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
66 lines (60 loc) · 2.36 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/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) <ghantoos@ghantoos.org>
#
# 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 <http://www.gnu.org/licenses/>.
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),('share/kio/servicemenus',['bell-scheduler/data-files/create_bell_with_file.desktop'])
] + 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()