This commit is contained in:
Andrew Resch 2007-07-12 23:15:38 +00:00
parent e08ad9ddaf
commit 0b621fd581
3 changed files with 1145 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -50,7 +50,7 @@ class GtkUI:
# Get the glade file for the main window # Get the glade file for the main window
self.main_glade = gtk.glade.XML( self.main_glade = gtk.glade.XML(
pkg_resources.resource_filename("deluge", "glade/main_window.glade")) pkg_resources.resource_filename("deluge.ui.gtkui", "glade/main_window.glade"))
# Initialize the main window # Initialize the main window
self.main_window = MainWindow(self.main_glade) self.main_window = MainWindow(self.main_glade)

View File

@ -84,6 +84,9 @@ libtorrent = Extension(
) )
# Main setup # Main setup
_datafiles = [
]
setup( setup(
name = "deluge", name = "deluge",
@ -97,6 +100,7 @@ setup(
license = "GPLv2", license = "GPLv2",
include_package_data = True, include_package_data = True,
package_data = {"deluge": ["ui/gtkui/glade/*.glade", "data/pixmaps/*.png"]},
ext_package = "deluge", ext_package = "deluge",
ext_modules = [libtorrent], ext_modules = [libtorrent],
packages = find_packages(), packages = find_packages(),