05d591a906
Signed-off-by: Anders Kaseorg <anders@zulip.com>
66 lines
1.9 KiB
Python
66 lines
1.9 KiB
Python
#!/usr/bin/env python3
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
ZULIP_BOTS_VERSION = "0.8.1"
|
|
IS_PYPA_PACKAGE = False
|
|
|
|
|
|
package_data = {
|
|
"": ["doc.md", "*.conf", "assets/*"],
|
|
"zulip_bots": ["py.typed"],
|
|
}
|
|
|
|
# IS_PYPA_PACKAGE should be set to True before making a PyPA release.
|
|
if not IS_PYPA_PACKAGE:
|
|
package_data[""].append("fixtures/*.json")
|
|
package_data[""].append("logo.*")
|
|
|
|
with open("README.md") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="zulip_bots",
|
|
version=ZULIP_BOTS_VERSION,
|
|
description="Zulip's Bot framework",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
author="Zulip Open Source Project",
|
|
author_email="zulip-devel@googlegroups.com",
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Web Environment",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Topic :: Communications :: Chat",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
],
|
|
python_requires=">=3.6",
|
|
url="https://www.zulip.org/",
|
|
project_urls={
|
|
"Source": "https://github.com/zulip/python-zulip-api/",
|
|
"Documentation": "https://zulip.com/api",
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"zulip-run-bot=zulip_bots.run:main",
|
|
"zulip-bot-shell=zulip_bots.bot_shell:main",
|
|
],
|
|
},
|
|
install_requires=[
|
|
"pip",
|
|
"zulip",
|
|
"html2text",
|
|
"lxml",
|
|
"BeautifulSoup4",
|
|
"typing_extensions",
|
|
'importlib-metadata >= 3.6; python_version < "3.10"',
|
|
],
|
|
packages=find_packages(),
|
|
package_data=package_data,
|
|
)
|