Don't build non-send_message bindings.

(imported from commit 4e94989e3da7d87490e483d6d2ecc39a0824ced0)
This commit is contained in:
Jessica McKellar 2013-02-05 11:39:58 -05:00
parent d30c8b857e
commit cea18d6561
1 changed files with 3 additions and 0 deletions

View File

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