~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: mattgiuca
  • Date: 2007-12-20 22:46:43 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:106
Renamed "student_dir" to "jail_base" across the suite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
# Copy www/ to $target.
58
58
# Copy jail/ to jails template directory (unless --nojail specified).
59
59
 
 
60
# TODO: List in help, and handle, args for the conf operation
 
61
 
60
62
import os
61
63
import sys
62
64
import getopt
212
214
    ivle_install_dir = query_user(
213
215
    'Root directory where IVLE is located (on the local file system):\n'
214
216
    '(eg. "/home/informatics/ivle")')
215
 
    student_dir = query_user(
 
217
    jail_base = query_user(
216
218
    """Root directory where user files are stored (on the local file system):
217
219
    (eg. "/home/informatics/jails")""")
218
220
 
238
240
# In the local file system, where are the student/user file spaces located.
239
241
# The user jails are expected to be located immediately in subdirectories of
240
242
# this location.
241
 
student_dir = "%s"
 
243
jail_base = "%s"
242
244
 
243
245
# Which application to load by default (if the user navigates to the top level
244
246
# of the site). This is the app's URL name.
245
247
# Note that if this app requires authentication, the user will first be
246
248
# presented with the login screen.
247
249
default_app = "%s"
248
 
""" % (root_dir, ivle_install_dir, student_dir, default_app))
 
250
""" % (root_dir, ivle_install_dir, jail_base, default_app))
249
251
        
250
252
        conf.close()
251
253
    except IOError, (errno, strerror):
271
273
 * jail_base or a subdirectory of jail_base.
272
274
 */
273
275
static const char* jail_base = "%s";
274
 
""" % (student_dir))
 
276
""" % (jail_base))
275
277
 
276
278
        conf.close()
277
279
    except IOError, (errno, strerror):