Skip to content

Commit b0214eb

Browse files
committed
Add initial builds of of the mqtt-broker-service and the bely-api
1 parent 42dfb90 commit b0214eb

7 files changed

Lines changed: 26 additions & 11 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ tools/developer_tools/python-client/cdbCli/service/cli/Spreadsheets/
5959
.env
6060
tools/developer_tools/bely-mqtt-message-broker/conda-bld
6161
tools/developer_tools/bely-mqtt-message-broker/dev-config
62+
tools/developer_tools/bely-mqtt-message-broker/conda-recipe/bely-mqtt-env.txt

tools/developer_tools/bely-mqtt-message-broker/conda-recipe/conda-build.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@ fi
2020

2121
source $CONDA_DIR/etc/profile.d/conda.sh || exit 1
2222

23+
# Clean
24+
rm -rvf ./build
25+
rm -rvf src
26+
2327
# Prepare build source
24-
rm -rf src
25-
cp -r ../ src
26-
rm -rf src/conda-recipe
27-
rm -rf src/.conda src/.pytest_cache src/.mypy_cache src/htmlcov src/build src/tmp
28+
mkdir -p src
29+
cp -Rv ../src src/
30+
cp -Rv ../tests src/
31+
cp -v ../pyproject.toml ../setup.py ../README.md ../LICENSE ../CHANGELOG.md ../pytest.ini src/
2832

29-
# Clean and Build
30-
rm -rvf ./build
33+
# Build
3134
conda build . --output-folder ./build || exit 1
3235

3336
# Install build into a new env

tools/developer_tools/bely-mqtt-message-broker/conda-recipe/meta.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "bely-mqtt-framework" %}
2-
{% set version = "0.1.0" %}
2+
{% set version = "2026.3.dev0" %}
33

44
package:
55
name: "{{ name|lower }}"
@@ -8,12 +8,18 @@ package:
88
source:
99
path: ./src
1010

11+
build:
12+
number: 0
13+
noarch: python
14+
1115
requirements:
1216
build:
1317
- pip
1418
- python>3.10
19+
- pytest-asyncio
20+
- python-dotenv
1521
run:
16-
- python
22+
- python>3.10
1723
- click
1824
- paho-mqtt
1925
- pydantic

tools/developer_tools/bely-mqtt-message-broker/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bely-mqtt-framework"
7-
version = "0.1.0"
7+
version = "2026.3.dev0"
88
description = "Pluggable Python framework for handling BELY MQTT events"
99
readme = "README.md"
1010
requires-python = ">=3.10"

tools/developer_tools/bely-mqtt-message-broker/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name="bely-mqtt-framework",
7-
version="0.1.0",
7+
version="2026.3.dev0",
88
description="Pluggable Python framework for handling BELY MQTT events",
99
long_description=open("README.md").read(),
1010
long_description_content_type="text/markdown",

tools/developer_tools/bely-mqtt-message-broker/src/bely_mqtt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from bely_mqtt.mqtt_client import BelyMQTTClient
3636
from bely_mqtt.plugin import MQTTHandler, PluginManager
3737

38-
__version__ = "0.1.0"
38+
__version__ = "2026.3.dev0"
3939

4040
__all__ = [
4141
"BelyMQTTClient",

tools/developer_tools/python-client/conda-recipe/API/meta.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ package:
88
source:
99
path: ./src
1010

11+
build:
12+
number: 0
13+
noarch: python
14+
15+
1116
requirements:
1217
build:
1318
- pip

0 commit comments

Comments
 (0)