2025-04-17 23:44:30 +00:00
|
|
|
import importlib.metadata
|
|
|
|
|
2016-02-28 11:11:16 +00:00
|
|
|
APRS_SERVER_HOST = 'aprs.glidernet.org'
|
|
|
|
APRS_SERVER_PORT_FULL_FEED = 10152
|
|
|
|
APRS_SERVER_PORT_CLIENT_DEFINED_FILTERS = 14580
|
|
|
|
|
2016-02-28 11:28:43 +00:00
|
|
|
APRS_APP_NAME = 'python-ogn-client'
|
2016-02-28 11:11:16 +00:00
|
|
|
|
2025-04-17 23:44:30 +00:00
|
|
|
try:
|
2025-04-19 11:25:38 +00:00
|
|
|
PACKAGE_VERSION = importlib.metadata.version('ogn-client')
|
2025-04-17 23:44:30 +00:00
|
|
|
except importlib.metadata.PackageNotFoundError:
|
|
|
|
PACKAGE_VERSION = '0.0.0'
|
|
|
|
|
2016-02-28 11:11:16 +00:00
|
|
|
APRS_APP_VER = PACKAGE_VERSION[:3]
|
|
|
|
|
|
|
|
APRS_KEEPALIVE_TIME = 240
|
2017-03-07 20:41:22 +00:00
|
|
|
|
|
|
|
TELNET_SERVER_HOST = 'localhost'
|
|
|
|
TELNET_SERVER_PORT = 50001
|