2011-05-21 12:00:59 +00:00
|
|
|
#!/usr/bin/env python
|
2008-11-23 04:58:01 +00:00
|
|
|
#
|
2007-07-04 08:24:30 +00:00
|
|
|
# setup.py
|
|
|
|
#
|
2008-11-23 04:58:01 +00:00
|
|
|
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
2009-11-25 17:58:50 +00:00
|
|
|
# 2009 Damien Churchill <damoxc@gmail.com>
|
2007-07-04 08:24:30 +00:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2008-08-08 05:59:07 +00:00
|
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
2007-07-04 08:24:30 +00:00
|
|
|
# any later version.
|
2008-07-14 20:42:11 +00:00
|
|
|
#
|
2007-07-04 08:24:30 +00:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-07-13 01:34:18 +00:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2007-07-04 08:24:30 +00:00
|
|
|
# GNU General Public License for more details.
|
2008-07-14 20:42:11 +00:00
|
|
|
#
|
2007-07-04 08:24:30 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2007-07-13 01:34:18 +00:00
|
|
|
# along with this program. If not, write to:
|
2012-01-09 19:58:37 +00:00
|
|
|
# The Free Software Foundation, Inc.,
|
|
|
|
# 51 Franklin Street, Fifth Floor
|
|
|
|
# Boston, MA 02110-1301, USA.
|
2007-07-04 08:24:30 +00:00
|
|
|
#
|
|
|
|
|
2009-11-25 17:58:50 +00:00
|
|
|
try:
|
|
|
|
from setuptools import setup, find_packages, Extension
|
|
|
|
except ImportError:
|
|
|
|
import ez_setup
|
|
|
|
ez_setup.use_setuptools()
|
|
|
|
from setuptools import setup, find_packages, Extension
|
|
|
|
|
2012-11-14 12:27:41 +00:00
|
|
|
import os
|
2009-02-23 11:25:07 +00:00
|
|
|
import sys
|
2012-11-14 12:27:41 +00:00
|
|
|
import platform
|
|
|
|
import msgfmt
|
|
|
|
import glob
|
2007-07-04 08:24:30 +00:00
|
|
|
|
2007-12-14 07:44:53 +00:00
|
|
|
from distutils import cmd, sysconfig
|
2007-09-16 01:24:08 +00:00
|
|
|
from distutils.command.build import build as _build
|
2008-11-25 22:21:14 +00:00
|
|
|
from distutils.command.clean import clean as _clean
|
2009-07-22 23:52:18 +00:00
|
|
|
try:
|
|
|
|
from sphinx.setup_command import BuildDoc
|
|
|
|
except ImportError:
|
|
|
|
class BuildDoc(object):
|
|
|
|
pass
|
|
|
|
|
2008-02-03 01:04:26 +00:00
|
|
|
def windows_check():
|
2008-10-23 11:27:37 +00:00
|
|
|
return platform.system() in ('Windows', 'Microsoft')
|
2008-02-03 01:04:26 +00:00
|
|
|
|
2008-11-30 01:11:26 +00:00
|
|
|
try:
|
2009-09-28 15:18:51 +00:00
|
|
|
from deluge._libtorrent import lt
|
2012-11-14 12:27:41 +00:00
|
|
|
print "Found libtorrent version: %s" % lt.version
|
|
|
|
except ImportError, e:
|
|
|
|
print "Warning libtorrent not found: %s" % e
|
2007-07-04 08:24:30 +00:00
|
|
|
|
2012-02-20 16:56:20 +00:00
|
|
|
desktop_data = 'deluge/ui/data/share/applications/deluge.desktop'
|
|
|
|
|
2007-09-16 01:24:08 +00:00
|
|
|
class build_trans(cmd.Command):
|
2012-01-02 16:53:28 +00:00
|
|
|
description = 'Compile .po files into .mo files & create .desktop file'
|
2007-09-16 01:24:08 +00:00
|
|
|
|
2008-11-29 01:22:29 +00:00
|
|
|
user_options = [
|
2011-07-10 00:20:13 +00:00
|
|
|
('build-lib', None, "lib build folder"),
|
|
|
|
('develop-mode', 'D', 'Compile translations in develop mode(into deluge/i18n')
|
2008-11-29 01:22:29 +00:00
|
|
|
]
|
2011-07-10 00:20:13 +00:00
|
|
|
boolean_options = ['develop_mode']
|
2008-11-29 01:22:29 +00:00
|
|
|
|
2007-09-16 01:24:08 +00:00
|
|
|
def initialize_options(self):
|
2008-11-29 01:22:29 +00:00
|
|
|
self.build_lib = None
|
2011-07-10 00:20:13 +00:00
|
|
|
self.develop_mode = False
|
2007-09-16 01:24:08 +00:00
|
|
|
|
|
|
|
def finalize_options(self):
|
2008-11-29 01:22:29 +00:00
|
|
|
self.set_undefined_options('build', ('build_lib', 'build_lib'))
|
2007-09-16 01:24:08 +00:00
|
|
|
|
|
|
|
def run(self):
|
|
|
|
po_dir = os.path.join(os.path.dirname(__file__), 'deluge/i18n/')
|
2011-07-13 20:49:25 +00:00
|
|
|
|
2011-07-10 00:20:13 +00:00
|
|
|
if self.develop_mode:
|
|
|
|
basedir = po_dir
|
|
|
|
else:
|
|
|
|
basedir = os.path.join(self.build_lib, 'deluge', 'i18n')
|
2011-07-13 20:49:25 +00:00
|
|
|
|
2011-07-22 18:12:47 +00:00
|
|
|
if not windows_check():
|
|
|
|
# creates the translated desktop file
|
|
|
|
INTLTOOL_MERGE='intltool-merge'
|
|
|
|
INTLTOOL_MERGE_OPTS='--utf8 --quiet --desktop-style'
|
|
|
|
desktop_in='deluge/ui/data/share/applications/deluge.desktop.in'
|
|
|
|
print('Creating desktop file: %s' % desktop_data)
|
|
|
|
os.system('C_ALL=C ' + '%s '*5 % (INTLTOOL_MERGE, INTLTOOL_MERGE_OPTS, \
|
|
|
|
po_dir, desktop_in, desktop_data))
|
2011-07-13 20:49:25 +00:00
|
|
|
|
|
|
|
print('Compiling po files from %s...' % po_dir),
|
2007-09-16 01:24:08 +00:00
|
|
|
for path, names, filenames in os.walk(po_dir):
|
|
|
|
for f in filenames:
|
2011-07-13 20:49:25 +00:00
|
|
|
uptoDate = False
|
2007-09-16 01:24:08 +00:00
|
|
|
if f.endswith('.po'):
|
|
|
|
lang = f[:len(f) - 3]
|
|
|
|
src = os.path.join(path, f)
|
2011-07-10 00:20:13 +00:00
|
|
|
dest_path = os.path.join(basedir, lang, 'LC_MESSAGES')
|
2007-09-16 01:24:08 +00:00
|
|
|
dest = os.path.join(dest_path, 'deluge.mo')
|
|
|
|
if not os.path.exists(dest_path):
|
|
|
|
os.makedirs(dest_path)
|
|
|
|
if not os.path.exists(dest):
|
2011-07-13 20:49:25 +00:00
|
|
|
sys.stdout.write('%s, ' % lang)
|
|
|
|
sys.stdout.flush()
|
2007-09-16 01:24:08 +00:00
|
|
|
msgfmt.make(src, dest)
|
|
|
|
else:
|
|
|
|
src_mtime = os.stat(src)[8]
|
|
|
|
dest_mtime = os.stat(dest)[8]
|
|
|
|
if src_mtime > dest_mtime:
|
2011-07-13 20:49:25 +00:00
|
|
|
sys.stdout.write('%s, ' % lang)
|
|
|
|
sys.stdout.flush()
|
2007-09-16 01:24:08 +00:00
|
|
|
msgfmt.make(src, dest)
|
2011-07-13 20:49:25 +00:00
|
|
|
else:
|
|
|
|
uptoDate = True
|
2011-07-22 18:12:47 +00:00
|
|
|
|
2011-07-13 20:49:25 +00:00
|
|
|
if uptoDate:
|
|
|
|
sys.stdout.write(' po files already upto date. ')
|
|
|
|
sys.stdout.write('\b\b \nFinished compiling translation files. \n')
|
2007-09-16 01:24:08 +00:00
|
|
|
|
2008-11-23 05:57:35 +00:00
|
|
|
class build_plugins(cmd.Command):
|
|
|
|
description = "Build plugins into .eggs"
|
|
|
|
|
2008-11-25 22:21:14 +00:00
|
|
|
user_options = []
|
|
|
|
|
2008-11-23 05:57:35 +00:00
|
|
|
def initialize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def finalize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
# Build the plugin eggs
|
|
|
|
PLUGIN_PATH = "deluge/plugins/*"
|
|
|
|
|
|
|
|
for path in glob.glob(PLUGIN_PATH):
|
|
|
|
if os.path.exists(os.path.join(path, "setup.py")):
|
2009-02-23 11:25:07 +00:00
|
|
|
os.system("cd " + path + "&& " + sys.executable + " setup.py bdist_egg -d ..")
|
2008-11-23 05:57:35 +00:00
|
|
|
|
2009-07-22 23:04:48 +00:00
|
|
|
|
2011-06-05 15:58:27 +00:00
|
|
|
class develop_plugins(cmd.Command):
|
|
|
|
description = "install plugin's in 'development mode'"
|
|
|
|
|
|
|
|
user_options = []
|
|
|
|
|
|
|
|
def initialize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def finalize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
# Build the plugin eggs
|
|
|
|
PLUGIN_PATH = "deluge/plugins/*"
|
|
|
|
|
|
|
|
for path in glob.glob(PLUGIN_PATH):
|
|
|
|
if os.path.exists(os.path.join(path, "setup.py")):
|
|
|
|
os.system("cd " + path + "&& " + sys.executable + " setup.py develop")
|
|
|
|
|
|
|
|
|
|
|
|
class egg_info_plugins(cmd.Command):
|
|
|
|
description = "create a distribution's .egg-info directory"
|
|
|
|
|
|
|
|
user_options = []
|
|
|
|
|
|
|
|
def initialize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def finalize_options(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
# Build the plugin eggs
|
|
|
|
PLUGIN_PATH = "deluge/plugins/*"
|
|
|
|
|
|
|
|
for path in glob.glob(PLUGIN_PATH):
|
|
|
|
if os.path.exists(os.path.join(path, "setup.py")):
|
|
|
|
os.system("cd " + path + "&& " + sys.executable + " setup.py egg_info")
|
|
|
|
|
|
|
|
|
2009-07-22 23:04:48 +00:00
|
|
|
class build_docs(BuildDoc):
|
|
|
|
def run(self):
|
|
|
|
class FakeModule(object):
|
|
|
|
def __init__(self, *args, **kwargs): pass
|
2009-10-09 16:26:10 +00:00
|
|
|
|
2009-07-22 23:04:48 +00:00
|
|
|
def __call__(self, *args, **kwargs):
|
|
|
|
return FakeModule()
|
|
|
|
|
|
|
|
def __getattr__(self, key):
|
|
|
|
return FakeModule()
|
|
|
|
|
|
|
|
def __setattr__(self, key, value):
|
|
|
|
self.__dict__[key] = value
|
|
|
|
|
|
|
|
old_import = __builtins__.__import__
|
|
|
|
def new_import(name, globals={}, locals={}, fromlist=[], level=-1):
|
|
|
|
try:
|
|
|
|
return old_import(name, globals, locals, fromlist, level)
|
|
|
|
except ImportError:
|
|
|
|
return FakeModule()
|
2009-08-11 23:05:13 +00:00
|
|
|
except Exception, e:
|
|
|
|
print "Skipping Exception: ", e
|
|
|
|
return FakeModule()
|
2009-07-22 23:04:48 +00:00
|
|
|
__builtins__.__import__ = new_import
|
2009-10-09 16:26:10 +00:00
|
|
|
|
2009-07-22 23:04:48 +00:00
|
|
|
BuildDoc.run(self)
|
|
|
|
|
2007-09-16 01:24:08 +00:00
|
|
|
class build(_build):
|
2008-11-25 22:21:14 +00:00
|
|
|
sub_commands = [('build_trans', None), ('build_plugins', None)] + _build.sub_commands
|
2007-09-16 01:24:08 +00:00
|
|
|
def run(self):
|
2008-11-25 22:21:14 +00:00
|
|
|
# Run all sub-commands (at least those that need to be run)
|
2007-09-16 01:24:08 +00:00
|
|
|
_build.run(self)
|
|
|
|
|
2008-11-25 22:21:14 +00:00
|
|
|
class clean_plugins(cmd.Command):
|
|
|
|
description = "Cleans the plugin folders"
|
|
|
|
user_options = [
|
|
|
|
('all', 'a', "remove all build output, not just temporary by-products")
|
|
|
|
]
|
|
|
|
boolean_options = ['all']
|
|
|
|
|
|
|
|
def initialize_options(self):
|
|
|
|
self.all = None
|
|
|
|
|
|
|
|
def finalize_options(self):
|
|
|
|
self.set_undefined_options('clean', ('all', 'all'))
|
|
|
|
|
|
|
|
def run(self):
|
2011-06-05 15:58:27 +00:00
|
|
|
print("Cleaning the plugin's folders..")
|
2008-11-25 22:21:14 +00:00
|
|
|
|
|
|
|
PLUGIN_PATH = "deluge/plugins/*"
|
|
|
|
|
|
|
|
for path in glob.glob(PLUGIN_PATH):
|
|
|
|
if os.path.exists(os.path.join(path, "setup.py")):
|
2009-02-23 11:25:07 +00:00
|
|
|
c = "cd " + path + "&& " + sys.executable + " setup.py clean"
|
2008-11-25 22:21:14 +00:00
|
|
|
if self.all:
|
|
|
|
c += " -a"
|
|
|
|
os.system(c)
|
|
|
|
|
|
|
|
# Delete the .eggs
|
|
|
|
if path[-4:] == ".egg":
|
|
|
|
print("Deleting %s" % path)
|
|
|
|
os.remove(path)
|
|
|
|
|
2011-06-05 15:58:27 +00:00
|
|
|
EGG_INFO_DIR_PATH = "deluge/plugins/*/*.egg-info"
|
|
|
|
|
|
|
|
for path in glob.glob(EGG_INFO_DIR_PATH):
|
|
|
|
# Delete the .egg-info's directories
|
|
|
|
if path[-9:] == ".egg-info":
|
|
|
|
print("Deleting %s" % path)
|
|
|
|
for fpath in os.listdir(path):
|
|
|
|
os.remove(os.path.join(path, fpath))
|
|
|
|
os.removedirs(path)
|
|
|
|
|
2012-01-09 19:58:37 +00:00
|
|
|
ROOT_EGG_INFO_DIR_PATH = "deluge*.egg-info"
|
|
|
|
|
|
|
|
for path in glob.glob(ROOT_EGG_INFO_DIR_PATH):
|
|
|
|
print("Deleting %s" % path)
|
|
|
|
for fpath in os.listdir(path):
|
|
|
|
os.remove(os.path.join(path, fpath))
|
|
|
|
os.removedirs(path)
|
|
|
|
|
2008-11-25 22:21:14 +00:00
|
|
|
class clean(_clean):
|
|
|
|
sub_commands = _clean.sub_commands + [('clean_plugins', None)]
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
# Run all sub-commands (at least those that need to be run)
|
|
|
|
for cmd_name in self.get_sub_commands():
|
|
|
|
self.run_command(cmd_name)
|
|
|
|
_clean.run(self)
|
|
|
|
|
2012-01-02 16:53:28 +00:00
|
|
|
if os.path.exists(desktop_data):
|
|
|
|
print("Deleting %s" % desktop_data)
|
|
|
|
os.remove(desktop_data)
|
|
|
|
|
2007-09-16 01:24:08 +00:00
|
|
|
cmdclass = {
|
|
|
|
'build': build,
|
|
|
|
'build_trans': build_trans,
|
2008-11-23 05:57:35 +00:00
|
|
|
'build_plugins': build_plugins,
|
2009-07-22 23:04:48 +00:00
|
|
|
'build_docs': build_docs,
|
2008-11-25 22:21:14 +00:00
|
|
|
'clean_plugins': clean_plugins,
|
2008-12-11 03:52:12 +00:00
|
|
|
'clean': clean,
|
2011-06-05 15:58:27 +00:00
|
|
|
'develop_plugins': develop_plugins,
|
|
|
|
'egg_info_plugins': egg_info_plugins
|
2007-09-16 01:24:08 +00:00
|
|
|
}
|
|
|
|
|
2008-11-29 02:12:09 +00:00
|
|
|
# Data files to be installed to the system
|
|
|
|
_data_files = [
|
2013-03-24 23:31:45 +00:00
|
|
|
('share/icons/hicolor/scalable/apps', ['deluge/ui/data/icons/scalable/apps/deluge.svg']),
|
2011-04-29 04:25:54 +00:00
|
|
|
('share/icons/hicolor/128x128/apps', ['deluge/ui/data/icons/hicolor/128x128/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/16x16/apps', ['deluge/ui/data/icons/hicolor/16x16/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/192x192/apps', ['deluge/ui/data/icons/hicolor/192x192/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/22x22/apps', ['deluge/ui/data/icons/hicolor/22x22/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/24x24/apps', ['deluge/ui/data/icons/hicolor/24x24/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/256x256/apps', ['deluge/ui/data/icons/hicolor/256x256/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/32x32/apps', ['deluge/ui/data/icons/hicolor/32x32/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/36x36/apps', ['deluge/ui/data/icons/hicolor/36x36/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/48x48/apps', ['deluge/ui/data/icons/hicolor/48x48/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/64x64/apps', ['deluge/ui/data/icons/hicolor/64x64/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/72x72/apps', ['deluge/ui/data/icons/hicolor/72x72/apps/deluge.png']),
|
|
|
|
('share/icons/hicolor/96x96/apps', ['deluge/ui/data/icons/hicolor/96x96/apps/deluge.png']),
|
|
|
|
('share/pixmaps', ['deluge/ui/data/pixmaps/deluge.png', 'deluge/ui/data/pixmaps/deluge.xpm']),
|
2009-10-09 16:26:10 +00:00
|
|
|
('share/man/man1', [
|
|
|
|
'docs/man/deluge.1',
|
|
|
|
'docs/man/deluged.1',
|
|
|
|
'docs/man/deluge-gtk.1',
|
2009-11-02 15:35:56 +00:00
|
|
|
'docs/man/deluge-web.1',
|
2009-10-09 16:26:10 +00:00
|
|
|
'docs/man/deluge-console.1'])
|
2008-11-29 02:12:09 +00:00
|
|
|
]
|
|
|
|
|
2012-02-20 16:56:20 +00:00
|
|
|
if not windows_check() and os.path.exists(desktop_data):
|
|
|
|
_data_files.append(('share/applications', [desktop_data]))
|
2011-07-22 18:12:47 +00:00
|
|
|
|
2010-10-31 09:18:09 +00:00
|
|
|
entry_points = {
|
|
|
|
"console_scripts": [
|
|
|
|
"deluge-console = deluge.ui.console:start",
|
|
|
|
"deluge-web = deluge.ui.web:start",
|
|
|
|
"deluged = deluge.main:start_daemon"
|
|
|
|
],
|
|
|
|
"gui_scripts": [
|
|
|
|
"deluge = deluge.main:start_ui",
|
|
|
|
"deluge-gtk = deluge.ui.gtkui:start"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
if windows_check():
|
2010-10-31 10:13:22 +00:00
|
|
|
entry_points["console_scripts"].append("deluge-debug = deluge.main:start_ui")
|
2010-10-31 09:18:09 +00:00
|
|
|
|
2007-07-04 08:24:30 +00:00
|
|
|
# Main setup
|
|
|
|
setup(
|
2009-11-25 17:58:50 +00:00
|
|
|
name = "deluge",
|
2010-05-05 21:46:27 +00:00
|
|
|
version = "1.3.900",
|
2009-11-25 17:58:50 +00:00
|
|
|
fullname = "Deluge Bittorrent Client",
|
|
|
|
description = "Bittorrent Client",
|
2009-10-04 23:19:34 +00:00
|
|
|
author = "Andrew Resch, Damien Churchill",
|
|
|
|
author_email = "andrewresch@gmail.com, damoxc@gmail.com",
|
2009-11-25 17:58:50 +00:00
|
|
|
keywords = "torrent bittorrent p2p fileshare filesharing",
|
2008-11-29 20:48:37 +00:00
|
|
|
long_description = """Deluge is a bittorrent client that utilizes a
|
2009-05-05 19:07:05 +00:00
|
|
|
daemon/client model. There are various user interfaces available for
|
2009-05-05 19:04:53 +00:00
|
|
|
Deluge such as the GTKui, the webui and a console ui. Deluge uses
|
2008-11-29 20:48:37 +00:00
|
|
|
libtorrent in it's backend to handle the bittorrent protocol.""",
|
2009-11-25 17:58:50 +00:00
|
|
|
url = "http://deluge-torrent.org",
|
|
|
|
license = "GPLv3",
|
|
|
|
cmdclass = cmdclass,
|
|
|
|
data_files = _data_files,
|
2008-07-14 20:42:11 +00:00
|
|
|
package_data = {"deluge": ["ui/gtkui/glade/*.glade",
|
2011-07-06 11:33:44 +00:00
|
|
|
"ui/gtkui/glade/*.ui",
|
|
|
|
"ui/data/pixmaps/*.png",
|
|
|
|
"ui/data/pixmaps/*.svg",
|
|
|
|
"ui/data/pixmaps/*.ico",
|
|
|
|
"ui/data/pixmaps/*.gif",
|
|
|
|
"ui/data/pixmaps/flags/*.png",
|
|
|
|
"plugins/*.egg",
|
|
|
|
"i18n/*/LC_MESSAGES/*.mo",
|
|
|
|
"ui/web/gettext.js",
|
|
|
|
"ui/web/index.html",
|
|
|
|
"ui/web/css/*.css",
|
|
|
|
"ui/web/icons/*.png",
|
|
|
|
"ui/web/images/*.gif",
|
|
|
|
"ui/web/images/*.png",
|
|
|
|
"ui/web/js/*.js",
|
|
|
|
"ui/web/js/*/*.js",
|
|
|
|
"ui/web/js/*/.order",
|
|
|
|
"ui/web/js/*/*/*.js",
|
|
|
|
"ui/web/js/*/*/.order",
|
|
|
|
"ui/web/render/*.html",
|
|
|
|
"ui/web/themes/css/*.css",
|
|
|
|
"ui/web/themes/images/*/*.gif",
|
|
|
|
"ui/web/themes/images/*/*.png",
|
|
|
|
"ui/web/themes/images/*/*/*.gif",
|
|
|
|
"ui/web/themes/images/*/*/*.png"
|
|
|
|
]},
|
2009-07-22 20:31:16 +00:00
|
|
|
packages = find_packages(exclude=["plugins", "docs", "tests"]),
|
2010-12-09 22:05:34 +00:00
|
|
|
namespace_packages = ["deluge", "deluge.plugins"],
|
2010-10-31 09:18:09 +00:00
|
|
|
entry_points = entry_points
|
2008-07-10 04:40:13 +00:00
|
|
|
)
|