zulip: Install all example scripts in the package's dir.
MODIFY
zulip/MANIFEST.in
zulip/MANIFEST.in
recursive-include integrations *
include README.md
-include zulip/examples/zuliprc
-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
+include zulip/examples/*

MODIFY
zulip/setup.py
zulip/setup.py
@@ -41,21 +41,8 @@ package_info = dict(
'Topic :: Communications :: Chat',
],
url='https://www.zulip.org/',
- data_files=[('examples',
- ["zulip/examples/zuliprc",
- "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')),
+ data_files=list(recur_expand('share/zulip', 'integrations')),
+ include_package_data=True,
entry_points={
'console_scripts': [
'zulip-send=zulip.send:main',

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