-
-
Notifications
You must be signed in to change notification settings - Fork 416
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (56 loc) · 1.8 KB
/
setup.py
File metadata and controls
62 lines (56 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import find_packages, setup
ZULIP_BOTS_VERSION = "0.9.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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.9",
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=[
"zulip",
"html2text",
"lxml",
"BeautifulSoup4",
"typing_extensions>=4.5.0",
"importlib-metadata>=3.6",
],
packages=find_packages(),
package_data=package_data,
)