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

« back to all changes in this revision

Viewing changes to setup/install.py

Remove Request.title.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
Copy bin/trampoline/trampoline to $target/bin.
37
37
Copy bin/timount/timount to $target/bin.
38
38
chown and chmod the installed trampoline.
 
39
Copy www/ to $target.
39
40
"""
40
41
 
41
42
    # Parse arguments
90
91
        return 1
91
92
 
92
93
    # Create the config directory.
93
 
    util.action_mkdir(mip('/etc/ivle/plugins.d'), dry)
 
94
    util.action_mkdir('/etc/ivle/plugins.d', dry)
94
95
 
95
96
    # Create lib and copy the compiled files there
96
97
    util.action_mkdir(lib_path, dry)
113
114
    util.action_copylist(install_list.list_user_binaries, bin_path, dry,
114
115
                         onlybasename=True)
115
116
 
 
117
    # Copy the www directory (using the list)
 
118
    util.action_copylist(install_list.list_www, share_path, dry)
 
119
 
116
120
    # Copy the lib directory (using the list)
117
121
    util.action_copylist(install_list.list_ivle_lib, python_site_packages, dry)
118
122
 
 
123
    # XXX We shouldn't have ivle.pth at all any more.
 
124
    # We may still need the www packages to be importable.
 
125
    # Anything from www that is needed from the outside should go to lib.
 
126
    ivle_pth = os.path.join(python_site_packages, "ivle.pth")
 
127
    try:
 
128
        file = open(ivle_pth, 'w')
 
129
        file.write(os.path.join(share_path, "www"))
 
130
        file.close()
 
131
    except (IOError, OSError):
 
132
        pass
 
133
 
119
134
    if not nosvnrevno:
120
135
        # Create the ivle working revision record file
121
136
        ivle_revision_file = os.path.join(share_path, 'revision.txt')