from setuptools import setup __plugin_name__ = "Premiere" __version__ = "0.5" __description__ = "Enable putting torrents into 'premiere mode' to be broadcast sequentially." __long_description__ = """ Premiere Plugin Setting a torrent to premiere mode causes all of its pieces to become unavailble to peers except the first piece. After all peers in the swarm have completely downloaded the first piece, the second piece gets announced as available and peers may download it. This continues on until the last piece. This plugin requires a forked version of libtorrent that supports setting pieces into premiere mode. """ __pkg_data__ = {__plugin_name__.lower(): ["template/*", "data/*"]} setup( name=__plugin_name__, version=__version__, description=__description__, long_description=__long_description__ if __long_description__ else __description__, packages=[__plugin_name__.lower()], package_data = __pkg_data__, entry_points=""" [deluge.plugin.core] %s = %s:CorePlugin [deluge.plugin.gtkui] %s = %s:GtkUIPlugin [deluge.plugin.web] %s = %s:WebUIPlugin """ % ((__plugin_name__, __plugin_name__.lower())*3) )