-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (53 loc) · 1.81 KB
/
Copy pathsetup.py
File metadata and controls
55 lines (53 loc) · 1.81 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
53
54
55
"""Setup script for OLED Dashboard."""
from setuptools import setup, find_packages
setup(
name="oled-dashboard",
version="1.0.0",
description="Web-configurable OLED display manager for Raspberry Pi",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Adithya",
license="MIT",
url="https://github.com/Cr4zySh4rk/oled-dashboard",
packages=find_packages(),
include_package_data=True,
package_data={
"oled_dashboard": [
"web/templates/*.html",
"web/static/css/*.css",
"web/static/js/*.js",
"web/static/img/*",
],
},
python_requires=">=3.7",
install_requires=[
# Core — always required
"flask>=2.0",
"Pillow>=9.0",
"requests>=2.28",
"psutil>=5.9",
# NOTE: Hardware-specific packages (RPi.GPIO, adafruit-blinka,
# adafruit-circuitpython-ssd1306, luma.oled, rpi_ws281x) are
# intentionally NOT listed here. They require native build tools
# and pre-built kernel modules that may not be present on every
# Raspberry Pi OS / DietPi image. install.sh installs them via
# apt (pre-compiled) and then pip, with graceful fallbacks.
# The dashboard runs fine in simulation/web-preview mode without them.
],
extras_require={
"dev": ["pytest", "black", "flake8"],
},
entry_points={
"console_scripts": [
"oled-dashboard=oled_dashboard.__main__:main",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: System :: Hardware",
"Topic :: System :: Monitoring",
],
)