forked from attzonko/mmpy_bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (43 loc) · 1.51 KB
/
setup.py
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
from pathlib import Path
from setuptools import find_packages, setup
excludes = (
"*test*",
"*local_settings*",
)
def requires(filename: str):
return open(filename).read().splitlines()
setup(
name="mmpy_bot",
# Updated by publish workflow
version=Path(__file__).parent.joinpath("mmpy_bot/version.txt").read_text().rstrip(),
author="Alex Tzonkov",
author_email="[email protected]",
license="MIT",
description="A python based bot for Mattermost with its own webhook server.",
keywords="chat bot mattermost",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/attzonko/mmpy_bot",
python_requires=">=3.8",
platforms=["Any"],
packages=find_packages(exclude=excludes),
install_requires=requires("requirements.txt"),
extras_require={"dev": requires("dev-requirements.txt")},
package_data={"mmpy_bot": ["mmpy_bot/version.txt"]},
include_package_data=True,
entry_points={
"console_scripts": [
"mmpy_bot = mmpy_bot.cli:main",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)