Merge pull request #142 from talaia-labs/pypi_common

Adds common module to PyPi
This commit is contained in:
Sergi Delgado Segura
2020-05-07 12:01:40 +02:00
committed by GitHub
5 changed files with 11 additions and 4 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,6 @@
.vscode/
.idea/
.venv/
.venv*
*.log
.DS_Store
bitcoin.conf*

4
common/README.md Normal file
View File

@@ -0,0 +1,4 @@
# teos-common
This is a common library for The Eye of Satoshi. It contains classes and methods that are shared by both the tower and
the clients.

4
common/requirements.txt Normal file
View File

@@ -0,0 +1,4 @@
cryptography==2.8
coincurve
pyzbase32
plyvel

View File

@@ -5,3 +5,4 @@ cryptography==2.8
pyzbase32
plyvel
backoff
teos-common==0.0.5

View File

@@ -41,8 +41,6 @@ class TowerMock:
logging.getLogger("werkzeug").setLevel(logging.ERROR)
os.environ["WERKZEUG_RUN_MAIN"] = "true"
# Thread(target=app.run, kwargs={"host": tower_netaddr, "port": tower_port}, daemon=True).start()
def register(self):
user_id = request.get_json().get("public_key")