apply 41ffee5 to master

This commit is contained in:
Damien Churchill 2010-10-31 09:18:09 +00:00
parent 4197e129fe
commit f88b24d507
1 changed files with 17 additions and 8 deletions

View File

@ -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
)