745f2cd173
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.
14 lines
355 B
Python
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)
|