-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (59 loc) · 1.96 KB
/
Copy pathsetup.py
File metadata and controls
71 lines (59 loc) · 1.96 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""
ZephyrGate Setup Configuration
Makes ZephyrGate installable as a Python package, allowing plugins to import
from 'src' modules.
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README file
readme_file = Path(__file__).parent / "README.md"
long_description = readme_file.read_text(encoding="utf-8") if readme_file.exists() else ""
# Read requirements
requirements_file = Path(__file__).parent / "requirements.txt"
requirements = []
if requirements_file.exists():
requirements = [
line.strip()
for line in requirements_file.read_text(encoding="utf-8").splitlines()
if line.strip() and not line.startswith("#")
]
setup(
name="zephyrgate",
version="1.1.0",
description="Unified Meshtastic Gateway with Plugin System",
long_description=long_description,
long_description_content_type="text/markdown",
author="ZephyrGate Team",
author_email="team@zephyrgate.example.com",
url="https://github.com/zephyrgate/zephyrgate",
license="MIT",
# Package discovery
packages=find_packages(where="src"),
package_dir={"": "src"},
# Include package data
include_package_data=True,
# Dependencies
install_requires=requirements,
# Python version requirement
python_requires=">=3.10",
# Entry points
entry_points={
"console_scripts": [
"zephyrgate=main:main",
],
},
# Classifiers
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Ham Radio",
"Topic :: System :: Networking",
],
# Keywords
keywords="meshtastic gateway mesh-network lora ham-radio",
)