forked from rosedu/vmchecker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·48 lines (41 loc) · 1.74 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
#!/usr/bin/env python
"""The distutils setup script.
To install vmchecker run
$ ./setup.py install --home=~
which install vmchecker to ~/lib/python.
Probably, you'll need to setup PYTHONPATH for python
to see your library
$ export PYTHONPATH=~/lib/python/
You can run tests using
$ ./tests/run-all.sh
"""
from distutils.core import setup
setup(name = 'vmchecker',
version = '0.5',
author = 'vmchecker',
author_email = '[email protected]',
url = 'http://github.com/vmchecker/vmchecker/tree/master',
description = 'An online homework evaluator',
license = 'MIT',
platforms = 'Linux',
packages = ['vmchecker'],
package_dir = {'vmchecker': 'vmchecker'},
package_data = {'vmchecker': ['examples/config-template',
'examples/so-linux_vmchecker_build.sh',
'examples/so-linux_vmchecker_run.sh',
'examples/so-win_vmchecker_build.sh',
'examples/so-win_vmchecker_run.sh',
]},
scripts = ['bin/vmchecker-init-course',
'bin/vmchecker-queue-manager',
'bin/vmchecker-submit',
'bin/vmchecker-resubmit',
'bin/vmchecker-update-db',
'bin/vmchecker-vm-executor',
'bin/vmchecker-view-grades',
],
data_files = [#('/etc/init.d/', ['etc/init.d/vmchecker']),
('/etc/vmchecker/', ['etc/vmchecker/config.list',
'etc/vmchecker/ldap.config',
'etc/vmchecker/acl.config',
])])