9 Commits
10 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ Using the e-mail address you provided during GPG key generation, run `build-deb.
```bash ```bash
./build-deb.sh [email protected] ./build-deb.sh [email protected]
apt update && apt install build/torch-agent_0.0.2-1_all.deb apt update && apt install build/torch-agent_0.0.4-1_all.deb
``` ```
This will: This will:
+1 -7
View File
@@ -1,10 +1,4 @@
torch-agent (0.0.1-1) unstable; urgency=medium torch-agent (0.0.4-1) stable; urgency=medium
* Initial release
-- Benjamin Dweck <[email protected]> Tue, 06 Oct 2020 15:53:02 +0200
torch-agent (0.0.2-1) stable; urgency=medium
* Update * Update
+2
View File
@@ -53,6 +53,8 @@ case "$1" in
useradd -r -g $GROUP $USER useradd -r -g $GROUP $USER
fi fi
sudo -H pip3 install 'paho-mqtt>=1.5.1'
chown $USER /etc/torch chown $USER /etc/torch
chown $USER /etc/torch/torch.conf chown $USER /etc/torch/torch.conf
+1
View File
@@ -0,0 +1 @@
OthermoduleName python-othermodule; PEP386
+1 -1
View File
@@ -40,7 +40,7 @@ In a separate terminal window, run the subscriber:
```bash ```bash
cd .. cd ..
./make-pkg.sh [email protected] ./make-pkg.sh [email protected]
cp -f build/torch-agent_0.0.2-1_all.deb example/ cp -f build/torch-agent_0.0.4-1_all.deb example/
cd example cd example
``` ```
+2 -2
View File
@@ -64,7 +64,7 @@ Vagrant.configure("2") do |config|
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use. # documentation for more information about their specific syntax and use.
config.vm.provision "file", source: "torch-agent_0.0.2-1_all.deb", destination: "~/" config.vm.provision "file", source: "torch-agent_0.0.4-1_all.deb", destination: "~/"
config.vm.provision "file", source: "agent-config", destination: "~/torch-conf" config.vm.provision "file", source: "agent-config", destination: "~/torch-conf"
config.vm.provision "shell", inline: <<-SHELL config.vm.provision "shell", inline: <<-SHELL
@@ -72,7 +72,7 @@ Vagrant.configure("2") do |config|
sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts" sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts"
sudo apt update sudo apt update
sudo apt install -y ./torch-agent_0.0.2-1_all.deb sudo apt install -y ./torch-agent_0.0.4-1_all.deb
sudo cp -f torch-conf/* /etc/torch/ sudo cp -f torch-conf/* /etc/torch/
sudo chown -R torch /etc/torch sudo chown -R torch /etc/torch
Binary file not shown.
View File
+1 -1
View File
@@ -17,7 +17,7 @@ setuptools.setup(
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
install_requires=[ install_requires=[
'stem', 'stem',
'paho-mqtt', 'paho-mqtt>=1.5.1',
'PySocks', 'PySocks',
], ],
entry_points = { entry_points = {
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.0.2" __version__ = "0.0.4"