mirror of https://github.com/zulip/zulip.git
Don't build non-send_message bindings.
(imported from commit 4e94989e3da7d87490e483d6d2ecc39a0824ced0)
This commit is contained in:
parent
d30c8b857e
commit
cea18d6561
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
cd api/
|
||||
# Strip out non-send_message bindings.
|
||||
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/' humbug/__init__.py
|
||||
python setup.py sdist
|
||||
mv humbug/__init__.py.bak humbug/__init__.py
|
||||
echo API tarball written to api/dist
|
||||
|
|
Loading…
Reference in New Issue