mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 20:44:50 +00:00
Update blocklist plugin setup.py to include more metadata and re-do
setup.py layout
This commit is contained in:
parent
1c121a8c17
commit
1c7ce61635
@ -1,8 +1,6 @@
|
|||||||
# setup.py
|
# setup.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
# Copyright (C) 2008 Mark Stahler ('kramed') <markstahler@gmail.com>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -30,27 +28,37 @@
|
|||||||
# this exception statement from your version. If you delete this exception
|
# this exception statement from your version. If you delete this exception
|
||||||
# statement from all source files in the program, then also delete it here.
|
# statement from all source files in the program, then also delete it here.
|
||||||
|
|
||||||
"""
|
|
||||||
Download and import IP Blocklists
|
|
||||||
"""
|
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
__plugin_name__ = "Blocklist"
|
||||||
__author__ = "Andrew Resch"
|
__author__ = "Andrew Resch"
|
||||||
|
__author_email__ = "andrew.resch@gmail.com"
|
||||||
|
__version__ = "1.0"
|
||||||
|
__url__ = "http://deluge-torrent.org"
|
||||||
|
__license__ = "GPL3"
|
||||||
|
__description__ = "Download and import IP blocklists"
|
||||||
|
__long_description__ = __description__
|
||||||
|
__pkg_data__ = {__plugin_name__.lower(): ["data/*"]}
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="Blocklist",
|
name=__plugin_name__,
|
||||||
version="1.0",
|
version=__version__,
|
||||||
description=__doc__,
|
description=__description__,
|
||||||
author=__author__,
|
author=__author__,
|
||||||
packages=["blocklist"],
|
author_email=__author_email__,
|
||||||
package_data = {"blocklist": ["data/*"]},
|
url=__url__,
|
||||||
|
license=__license__,
|
||||||
|
long_description=__long_description__,
|
||||||
|
|
||||||
|
packages=[__plugin_name__.lower()],
|
||||||
|
package_data = __pkg_data__,
|
||||||
|
|
||||||
entry_points="""
|
entry_points="""
|
||||||
[deluge.plugin.core]
|
[deluge.plugin.core]
|
||||||
Blocklist = blocklist:CorePlugin
|
%s = %s:CorePlugin
|
||||||
[deluge.plugin.gtkui]
|
[deluge.plugin.gtkui]
|
||||||
Blocklist = blocklist:GtkUIPlugin
|
%s = %s:GtkUIPlugin
|
||||||
[deluge.plugin.webui]
|
[deluge.plugin.webui]
|
||||||
Blocklist = blocklist:WebUIPlugin
|
%s = %s:WebUIPlugin
|
||||||
"""
|
""" % ((__plugin_name__, __plugin_name__.lower())*3)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user