Compare commits
6
Commits
a67b3ef441
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1eee40a30e | ||
|
|
c1a5bb2db0 | ||
|
|
b22780dd28 | ||
|
|
9a7e79c2ae | ||
|
|
9eda2edecb | ||
|
|
7663e3185b |
+9
-2
@@ -1,6 +1,13 @@
|
|||||||
|
# Python environment, setuptools, build
|
||||||
venv
|
venv
|
||||||
.idea
|
|
||||||
/test/clients.json
|
|
||||||
*.pyc
|
*.pyc
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
deb_dist
|
||||||
|
dist
|
||||||
|
|
||||||
|
# PyCharm
|
||||||
|
.idea
|
||||||
|
|
||||||
|
# Project generated test files
|
||||||
|
/test/clients.json
|
||||||
*.json
|
*.json
|
||||||
+3
-2
@@ -1,6 +1,7 @@
|
|||||||
|
pip~=20.2.4
|
||||||
|
setuptools~=50.3.2
|
||||||
|
stdeb3~=0.9.0.post2
|
||||||
paho-mqtt~=1.5.1
|
paho-mqtt~=1.5.1
|
||||||
setuptools~=50.3.1
|
|
||||||
pip~=20.2.3
|
|
||||||
Jinja2~=2.11.2
|
Jinja2~=2.11.2
|
||||||
Werkzeug~=1.0.1
|
Werkzeug~=1.0.1
|
||||||
itsdangerous~=1.1.0
|
itsdangerous~=1.1.0
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = torchsub
|
name = torchsub
|
||||||
version = 0.0.1
|
version = 0.0.3
|
||||||
author = Benjamin Dweck
|
author = Benjamin Dweck
|
||||||
author_email = [email protected]
|
author_email = [email protected]
|
||||||
url = http://git.rudefox.io/bj/torch-subscriber-simple
|
description = TORch Simple Subscriber
|
||||||
|
url = https://git.rudefox.io/bj/torch-subscriber-simple
|
||||||
classifiers =
|
classifiers =
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
License :: OSI Approved :: MIT License
|
License :: OSI Approved :: MIT License
|
||||||
@@ -19,7 +20,7 @@ install_requires =
|
|||||||
itsdangerous~=1.1.0
|
itsdangerous~=1.1.0
|
||||||
click~=7.1.2
|
click~=7.1.2
|
||||||
MarkupSafe~=1.1.1
|
MarkupSafe~=1.1.1
|
||||||
Flask~=1.1.2
|
Flask~=1.1.1
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
console_scripts = torch-sub=torchsub.torch_sub:main
|
console_scripts = torch-sub=torchsub.torch_sub:main
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ def main():
|
|||||||
json.dump({}, database_blank)
|
json.dump({}, database_blank)
|
||||||
|
|
||||||
threading.Thread(target=torch_sub_webserver.app.run,
|
threading.Thread(target=torch_sub_webserver.app.run,
|
||||||
args=("localhost", config.web_port),
|
args=("0.0.0.0", config.web_port),
|
||||||
daemon=True).start()
|
daemon=True).start()
|
||||||
|
|
||||||
subscribe(config.broker_hostname,
|
subscribe(config.broker_hostname,
|
||||||
|
|||||||
Reference in New Issue
Block a user