5 Commits
Author SHA1 Message Date
bj 21665f976c Updated version to 0.0.2 2020-10-08 19:48:16 +02:00
bj a891f9bf51 Revomed redundant version number constant 2020-10-08 19:45:01 +02:00
bj fa24e56662 Deleted unnecessary file 2020-10-08 19:41:39 +02:00
bj c94962e2f1 Updated README.md 2020-10-08 15:25:08 +02:00
bj a9aca4da54 Moved build over to Python setuptools and Debian dh_python 2020-10-08 15:20:42 +02:00
8 changed files with 16 additions and 15 deletions
+4 -8
View File
@@ -21,11 +21,11 @@ If you don't already have a GPG key, generate one:
gpg --full-generate-key
```
Using the e-mail address you provided during GPG key generation, run `make-pkg.sh` to build a Debian package and install it
Using the e-mail address you provided during GPG key generation, run `build-deb.sh` to build a Debian package and install it
```bash
./make-pkg.sh [email protected]
apt update && apt install build/torch-agent_0.0.1-1_all.deb
./build-deb.sh [email protected]
apt update && apt install build/torch-agent_0.0.2-1_all.deb
```
This will:
@@ -44,8 +44,4 @@ The configuation directory can be specified by
A fully configured example can be found [here](example)
See the sample [`torch.conf`](torch.conf) file for additional configuration options and details
## Roadmap
[ ] Utilize [dh_python3](https://www.debian.org/doc/manuals/debmake-doc/ch08.en.html#setup-py) in Debian package build
See the sample [`torch.conf`](torch.conf) file for additional configuration options and details
+6
View File
@@ -3,3 +3,9 @@ torch-agent (0.0.1-1) unstable; 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
-- Benjamin Dweck <[email protected]> Tue, 08 Oct 2020 19:46:22 +0200
-2
View File
@@ -1,2 +0,0 @@
torch-agent_0.0.1-1_all.deb net optional
torch-agent_0.0.1-1_amd64.buildinfo net optional
+1 -1
View File
@@ -40,7 +40,7 @@ In a separate terminal window, run the subscriber:
```bash
cd ..
./make-pkg.sh [email protected]
cp -f build/torch-agent_0.0.1-1_all.deb example/
cp -f build/torch-agent_0.0.2-1_all.deb 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
# documentation for more information about their specific syntax and use.
config.vm.provision "file", source: "torch-agent_0.0.1-1_all.deb", destination: "~/"
config.vm.provision "file", source: "torch-agent_0.0.2-1_all.deb", destination: "~/"
config.vm.provision "file", source: "agent-config", destination: "~/torch-conf"
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 apt update
sudo apt install -y ./torch-agent_0.0.1-1_all.deb
sudo apt install -y ./torch-agent_0.0.2-1_all.deb
sudo cp -f torch-conf/* /etc/torch/
sudo chown -R torch /etc/torch
Binary file not shown.
+2 -1
View File
@@ -1,12 +1,13 @@
#!/usr/bin/env python3
import setuptools
import torch_agent
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="torch-agent",
version="0.0.1",
version=torch_agent.__version__,
author="B.J. Dweck",
author_email="[email protected]",
description="TORch: Iluminate the Way to your Node",
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.0.1"
__version__ = "0.0.2"