Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16bbe738a7 | ||
|
|
2792dc5e68 | ||
|
|
03f415499c | ||
|
|
005f9b060d | ||
|
|
8c6309eff9 | ||
|
|
fe28ab3246 | ||
|
|
156370a586 |
@@ -21,11 +21,11 @@ If you don't already have a GPG key, generate one:
|
|||||||
gpg --full-generate-key
|
gpg --full-generate-key
|
||||||
```
|
```
|
||||||
|
|
||||||
Using the e-mail address you provided during GPG key generation, run `build-deb.sh` to build a Debian package and install it
|
Using the e-mail address you provided during GPG key generation, run `make-pkg.sh` to build a Debian package and install it
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build-deb.sh [email protected]
|
./make-pkg.sh [email protected]
|
||||||
apt update && apt install build/torch-agent_0.0.4-1_all.deb
|
apt update && apt install build/torch-agent_0.0.1-1_all.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
@@ -45,3 +45,7 @@ The configuation directory can be specified by
|
|||||||
A fully configured example can be found [here](example)
|
A fully configured example can be found [here](example)
|
||||||
|
|
||||||
See the sample [`torch.conf`](torch.conf) file for additional configuration options and details
|
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
|
||||||
Vendored
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
torch-agent (0.0.4-1) stable; urgency=medium
|
torch-agent (0.0.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Update
|
* Initial release
|
||||||
|
|
||||||
-- Benjamin Dweck <[email protected]> Tue, 08 Oct 2020 19:46:22 +0200
|
-- Benjamin Dweck <[email protected]> Tue, 06 Oct 2020 15:53:02 +0200
|
||||||
|
|||||||
Vendored
+2
@@ -0,0 +1,2 @@
|
|||||||
|
torch-agent_0.0.1-1_all.deb net optional
|
||||||
|
torch-agent_0.0.1-1_amd64.buildinfo net optional
|
||||||
Vendored
-2
@@ -53,8 +53,6 @@ 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
|
||||||
|
|
||||||
|
|||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
OthermoduleName python-othermodule; PEP386
|
|
||||||
+1
-1
@@ -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.4-1_all.deb example/
|
cp -f build/torch-agent_0.0.1-1_all.deb example/
|
||||||
cd example
|
cd example
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Vendored
+2
-2
@@ -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.4-1_all.deb", destination: "~/"
|
config.vm.provision "file", source: "torch-agent_0.0.1-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.4-1_all.deb
|
sudo apt install -y ./torch-agent_0.0.1-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.
Binary file not shown.
@@ -1,13 +1,12 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import setuptools
|
import setuptools
|
||||||
import torch_agent
|
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
with open("README.md", "r") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="torch-agent",
|
name="torch-agent",
|
||||||
version=torch_agent.__version__,
|
version="0.0.1",
|
||||||
author="B.J. Dweck",
|
author="B.J. Dweck",
|
||||||
author_email="[email protected]",
|
author_email="[email protected]",
|
||||||
description="TORch: Iluminate the Way to your Node",
|
description="TORch: Iluminate the Way to your Node",
|
||||||
@@ -17,7 +16,7 @@ setuptools.setup(
|
|||||||
packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'stem',
|
'stem',
|
||||||
'paho-mqtt>=1.5.1',
|
'paho-mqtt',
|
||||||
'PySocks',
|
'PySocks',
|
||||||
],
|
],
|
||||||
entry_points = {
|
entry_points = {
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.0.4"
|
__version__ = "0.0.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user