2012-11-26 17:54:21 +01:00
|
|
|
#!/bin/sh -x
|
2013-02-01 21:42:47 +01:00
|
|
|
|
|
|
|
cd api/
|
2013-02-05 17:39:58 +01:00
|
|
|
# Strip out non-send_message bindings.
|
2014-01-07 20:14:48 +01:00
|
|
|
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/ ||m/get_messages/ ||m/add_subscriptions/ ||m/list_subscriptions/ ||m/remove_subscriptions/ ||m/get_streams/ ||m/get_members/ ||m/_register.*register/ ||m/get_events/' zulip/__init__.py
|
2013-02-01 21:42:47 +01:00
|
|
|
python setup.py sdist
|
2013-08-07 17:51:03 +02:00
|
|
|
mv zulip/__init__.py.bak zulip/__init__.py
|
2013-02-01 21:42:47 +01:00
|
|
|
echo API tarball written to api/dist
|