-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (37 loc) · 1.21 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (37 loc) · 1.21 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
""" Tool Setup """
# !/usr/bin/env python3
from setuptools import setup
PACKAGE_NAME = "pihole-dashboard"
VERSION = "2.0.11"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
if __name__ == "__main__":
setup(
name=PACKAGE_NAME,
version=VERSION,
author="santoru",
author_email="santoru@pm.me",
description="Minimal dashboard for Pi-Hole that works with WaveShare's 2.13 inch HAT display (v6 compatible)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/santoru/pihole-dashboard",
packages=["pihole_dashboard"],
package_data={
'pihole_dashboard': ['font/*.ttf'],
},
data_files=[
('/etc/cron.d', ['cron/pihole-dashboard-cron']),
('/etc/pihole-dashboard', ['conf/config.toml']),
],
scripts=[
"scripts/pihole-dashboard-clean-screen",
"scripts/pihole-dashboard-draw"
],
python_requires='>=3.3.5',
install_requires=[
"waveshare-epd",
"netifaces>=0.10.9",
"Pillow>=8.2.0",
"toml>=0.10.2"
],
)