mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-21 17:48:45 +00:00
now installs and runs properly
This commit is contained in:
parent
a4202f6c35
commit
60a0af0237
4 changed files with 8 additions and 5 deletions
|
@ -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: "
|
||||||
|
|
|
@ -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"):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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]
|
||||||
)
|
)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue