-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (31 loc) · 1.26 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
import os
datafiles = []
for root, dir, files in os.walk('frontend/www'):
dir = []
for file in files:
dir.append(os.path.join(root, file))
datafiles.append((os.path.join('share/controlaula', root), dir))
datafiles.append(('share/pixmaps',['controlaula.png']))
datafiles.append(('share/applications',['controlaula.desktop']))
datafiles.append(('/etc/xdg/autostart',['startcontrolaula.desktop']))
datafiles.append(('share/controlaula',['nobody.png']))
datafiles.append(('share/controlaula',['Backend/src/monitor.py']))
datafiles.append(('share/controlaula',['Backend/src/controlaula.py']))
setup(name='ControlAula',
version='1.6',
description='Classroom management tool',
long_description = """Really long text here.""",
author = 'José L. Redrejo Rodríguez and Manu Mora',
author_email = '[email protected]',
license = "GNU GPLv3",
packages=['ControlAula','ControlAula.Plugins','ControlAula.Utils'],
package_dir={'ControlAula': 'Backend/src/ControlAula'},
# package_data={'ControlAula': ['nobody.png']},
url = 'http://www.itais.net/en/',
# Those are going to be installed on /usr/bin/
scripts=['controlaula','Backend/src/sirvecole.py'],
data_files=datafiles
)