1 | #
|
---|
2 | # setup.py
|
---|
3 | #
|
---|
4 | # Copyright (C) 2009 Damien Churchill <damoxc@gmail.com>
|
---|
5 | #
|
---|
6 | # This program is free software; you can redistribute it and/or modify
|
---|
7 | # it under the terms of the GNU General Public License as published by
|
---|
8 | # the Free Software Foundation; either version 3, or (at your option)
|
---|
9 | # any later version.
|
---|
10 | #
|
---|
11 | # This program is distributed in the hope that it will be useful,
|
---|
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | # GNU General Public License for more details.
|
---|
15 | #
|
---|
16 | # You should have received a copy of the GNU General Public License
|
---|
17 | # along with this program. If not, write to:
|
---|
18 | # The Free Software Foundation, Inc.,
|
---|
19 | # 51 Franklin Street, Fifth Floor
|
---|
20 | # Boston, MA 02110-1301, USA.
|
---|
21 | #
|
---|
22 |
|
---|
23 | from setuptools import setup
|
---|
24 |
|
---|
25 | __plugin_name__ = "Execute"
|
---|
26 | __author__ = "Damien Churchill"
|
---|
27 | __author_email__ = "damoxc@gmail.com"
|
---|
28 | __version__ = "1.2"
|
---|
29 | __url__ = "http://deluge-torrent.org"
|
---|
30 | __license__ = "GPLv3"
|
---|
31 | __description__ = "Plugin to execute a command upon an event"
|
---|
32 | __long_description__ = __description__
|
---|
33 | __pkg_data__ = {__plugin_name__.lower(): ["data/*"]}
|
---|
34 |
|
---|
35 | setup(
|
---|
36 | name=__plugin_name__,
|
---|
37 | version=__version__,
|
---|
38 | description=__description__,
|
---|
39 | author=__author__,
|
---|
40 | author_email=__author_email__,
|
---|
41 | url=__url__,
|
---|
42 | license=__license__,
|
---|
43 | long_description=__long_description__,
|
---|
44 |
|
---|
45 | packages=[__plugin_name__.lower()],
|
---|
46 | package_data = __pkg_data__,
|
---|
47 |
|
---|
48 | entry_points="""
|
---|
49 | [deluge.plugin.core]
|
---|
50 | %s = %s:CorePlugin
|
---|
51 | [deluge.plugin.gtkui]
|
---|
52 | %s = %s:GtkUIPlugin
|
---|
53 | [deluge.plugin.web]
|
---|
54 | %s = %s:WebUIPlugin
|
---|
55 | """ % ((__plugin_name__, __plugin_name__.lower())*3)
|
---|
56 | )
|
---|