-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (45 loc) · 1.5 KB
/
Copy pathsetup.py
File metadata and controls
52 lines (45 loc) · 1.5 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
"""
matterhook
"""
import os
from setuptools import find_packages, setup
def read(fname: str):
"""Read README file
Utility function to read the README file.
Used for the long_description. It's nice, because now 1) we have a top
level README file and 2) it's easier to type in the README file than to
put a raw string in below ...
:param fname: README filename
:type fname: str
:return: File contents
:rtype: str
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
author="numberly",
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
],
description="Interact with Mattermost incoming webhooks easily.",
download_url="https://github.com/numberly/matterhook/tags",
include_package_data=True,
install_requires=[],
python_requires=">=3.10",
license="BSD",
long_description=read("README.rst"),
name="matterhook",
packages=find_packages(),
platforms="any",
url="https://github.com/numberly/matterhook",
version="0.3",
zip_safe=True,
)