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

« back to all changes in this revision

Viewing changes to setup/install.py

Drop www/ stuff from setup.

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.
40
39
"""
41
40
 
42
41
    # Parse arguments
114
113
    util.action_copylist(install_list.list_user_binaries, bin_path, dry,
115
114
                         onlybasename=True)
116
115
 
117
 
    # Copy the www directory (using the list)
118
 
    util.action_copylist(install_list.list_www, share_path, dry)
119
 
 
120
116
    # Copy the lib directory (using the list)
121
117
    util.action_copylist(install_list.list_ivle_lib, python_site_packages, dry)
122
118
 
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
 
 
134
119
    if not nosvnrevno:
135
120
        # Create the ivle working revision record file
136
121
        ivle_revision_file = os.path.join(share_path, 'revision.txt')