zulip: Install all example scripts in the package's dir.

This commit is contained in:
derAnfaenger 2017-09-13 11:39:15 +02:00 committed by Tim Abbott
parent 2f044b44bd
commit 623557d189
2 changed files with 3 additions and 24 deletions

View file

@ -1,11 +1,3 @@
recursive-include integrations * recursive-include integrations *
include README.md include README.md
include zulip/examples/zuliprc include zulip/examples/*
include zulip/examples/send-message
include zulip/examples/subscribe
include zulip/examples/get-public-streams
include zulip/examples/unsubscribe
include zulip/examples/list-members
include zulip/examples/list-subscriptions
include zulip/examples/print-messages
include zulip/examples/recent-messages

View file

@ -41,21 +41,8 @@ package_info = dict(
'Topic :: Communications :: Chat', 'Topic :: Communications :: Chat',
], ],
url='https://www.zulip.org/', url='https://www.zulip.org/',
data_files=[('examples', data_files=list(recur_expand('share/zulip', 'integrations')),
["zulip/examples/zuliprc", include_package_data=True,
"zulip/examples/create-user",
"zulip/examples/edit-message",
"zulip/examples/get-presence",
"zulip/examples/get-public-streams",
"zulip/examples/list-members",
"zulip/examples/list-subscriptions",
"zulip/examples/print-events",
"zulip/examples/print-messages",
"zulip/examples/recent-messages",
"zulip/examples/send-message",
"zulip/examples/subscribe",
"zulip/examples/unsubscribe",
])] + list(recur_expand('share/zulip', 'integrations')),
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'zulip-send=zulip.send:main', 'zulip-send=zulip.send:main',