File: setup.py

package info (click to toggle)
controlaula 1.8.0-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,792 kB
  • sloc: python: 3,968; sh: 146; makefile: 41
file content (38 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download
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
#!/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 = 'jredrejo@debian.org',
	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 
    )