mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 13:34:21 +00:00
change entry_points to a dictionary and split it up into console and gui scripts
This commit is contained in:
parent
6f0c2af58a
commit
41ffee5d8a
27
setup.py
27
setup.py
@ -422,10 +422,26 @@ _data_files = [
|
||||
'docs/man/deluge-console.1'])
|
||||
]
|
||||
|
||||
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():
|
||||
entry_points["console-scripts"].append("deluge-debug = deluge.main:start_ui")
|
||||
|
||||
# Main setup
|
||||
setup(
|
||||
name = "deluge",
|
||||
version = "1.3.0",
|
||||
version = "1.3.1",
|
||||
fullname = "Deluge Bittorrent Client",
|
||||
description = "Bittorrent Client",
|
||||
author = "Andrew Resch, Damien Churchill",
|
||||
@ -469,12 +485,5 @@ setup(
|
||||
"ui/web/themes/images/*/*/*.png"
|
||||
]},
|
||||
packages = find_packages(exclude=["plugins", "docs", "tests"]),
|
||||
entry_points = """
|
||||
[console_scripts]
|
||||
deluge = deluge.main:start_ui
|
||||
deluge-console = deluge.ui.console:start
|
||||
deluge-gtk = deluge.ui.gtkui:start
|
||||
deluge-web = deluge.ui.web:start
|
||||
deluged = deluge.main:start_daemon
|
||||
""",
|
||||
entry_points = entry_points
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user