-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (26 loc) · 834 Bytes
/
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
#!/usr/bin/env python
# Copyright 2022 The Wazo Authors (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later
import yaml
from setuptools import find_packages
from setuptools import setup
with open('wazo/plugin.yml') as file:
metadata = yaml.load(file, yaml.Loader)
setup(
name=metadata['name'],
version=metadata['version'],
description=metadata['display_name'],
author=metadata['author'],
url=metadata['homepage'],
packages=find_packages(),
include_package_data=True,
package_data={
'wazo_presence_teams': ['*/api.yml'],
},
entry_points={
'wazo_chatd.plugins': ['presence_teams = wazo_presence_teams.chatd.plugin:Plugin'],
'wazo_webhookd.services': [
'presence_teams = wazo_presence_teams.webhookd.plugin:Service',
],
},
)