python-zulip-api/packaged_helloworld/setup.py
PIG208 745f2cd173 zulip_bots: Add a boilerplate bot for external bots.
Add packaged_helloworld as an example of a PyPI package setup for
an external zulip bot that can be installed via pip and lanuched
without the need to include it in the zulip_bots/bots directory.
2021-07-29 11:08:33 -07:00

14 lines
355 B
Python

import packaged_helloworld
from setuptools import find_packages, setup
package_info = {
"name": "packaged_helloworld",
"version": packaged_helloworld.__version__,
"entry_points": {
"zulip_bots.registry": ["packaged_helloworld=packaged_helloworld.packaged_helloworld"],
},
"packages": find_packages(),
}
setup(**package_info)