apply 41ffee5
to master
This commit is contained in:
parent
4197e129fe
commit
f88b24d507
25
setup.py
25
setup.py
|
@ -422,6 +422,22 @@ _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",
|
||||
|
@ -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…
Reference in New Issue