forked from bob1de/hass-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·36 lines (28 loc) · 919 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
31
32
33
34
35
36
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
from hass_apps import __version__
def read_file(filename):
"""Returns content of the given file. Path must be relative to
this file."""
with open(os.path.join(os.path.dirname(__file__), filename)) as file:
return file.read()
setup(
name = "hass-apps",
version = __version__,
description = "A collection of useful apps for AppDaemon + "
"Home Assistant.",
long_description = read_file("README.rst"),
author = "Robert Schindler",
author_email = "[email protected]",
url = "https://github.com/efficiosoft/hass-apps",
license = "Apache 2.0",
packages = find_packages("."),
install_requires = [
"appdaemon >= 3.0, < 5",
"cached-property ~= 1.5",
"observable ~= 1.0",
"voluptuous ~= 0.11",
],
zip_safe = False,
)