now installs and runs properly

This commit is contained in:
Zach Tibbitts 2007-02-08 00:59:42 +00:00
commit 60a0af0237
4 changed files with 8 additions and 5 deletions

View file

@ -8,6 +8,10 @@
# a working copy of Deluge-SVN # a working copy of Deluge-SVN
# #
echo "For now, you'll have to install Deluge to run it"
exit
if [ -d ./working/ ] if [ -d ./working/ ]
then then
echo " Removing old files: " echo " Removing old files: "

View file

@ -50,8 +50,8 @@ interface = None
if not "org.deluge_torrent.Deluge" in dbus_objects: if not "org.deluge_torrent.Deluge" in dbus_objects:
print "no existing Deluge session" print "no existing Deluge session"
import delugegtk import deluge, deluge.delugegtk
interface = delugegtk.DelugeGTK() interface = deluge.delugegtk.DelugeGTK()
for arg in args: for arg in args:
apath = os.path.abspath(arg) apath = os.path.abspath(arg)
if apath.endswith(".torrent"): if apath.endswith(".torrent"):

View file

@ -89,7 +89,7 @@ setup(name="deluge", fullname="Deluge BitTorrent Client", version="0.5.0",
packages=['deluge'], packages=['deluge'],
package_dir = {'deluge': 'src'}, package_dir = {'deluge': 'src'},
data_files=[("share/deluge/glade", ["glade/delugegtk.glade", "glade/dgtkpopups.glade", "glade/dgtkpref.glade"]), data_files=[("share/deluge/glade", ["glade/delugegtk.glade", "glade/dgtkpopups.glade", "glade/dgtkpref.glade"]),
("share/deluge/pixmaps", ["pixmaps/deluge32.png","pixmaps/deluge128.png"])], ("share/deluge/pixmaps", ["pixmaps/deluge32.png","pixmaps/deluge128.png", "pixmaps/deluge256.png"])],
ext_package='deluge', ext_package='deluge',
ext_modules=[deluge_core] ext_modules=[deluge_core]
) )

View file

@ -36,7 +36,6 @@
# time to calculate, so we do if efficiently # time to calculate, so we do if efficiently
# 3. supp_torrent_state - supplementary torrent data, from Deluge # 3. supp_torrent_state - supplementary torrent data, from Deluge
import deluge_core import deluge_core
import os, shutil import os, shutil
import pickle import pickle