diff --git a/.gitignore b/.gitignore index 7b7c5ba..5c98d69 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *__pycache__/* +*/__pycache__/* .bump* *.tar.gz *.egg-info/* diff --git a/bump/bump.py b/bump/bump.py index 9947460..a03189e 100644 --- a/bump/bump.py +++ b/bump/bump.py @@ -1,5 +1,4 @@ import time -import ipdb import json import random import qrcode @@ -7,12 +6,11 @@ import requests import base64 import re import os - +from random_word import RandomWords SENDER_LENGTH = 4 PASSWORD_LENGTH = 8 -from random_word import RandomWords import secrets from base64 import urlsafe_b64encode as b64e, urlsafe_b64decode as b64d @@ -97,7 +95,7 @@ class Bump: def show_secret(self): - print("Scan this QR Code with the Bump app to connect them:") + print("Scan this QR Code with the Bump app to connect") for secret in self.secrets: qr = qrcode.QRCode( version=1, diff --git a/setup.py b/setup.py index 8bcd3e1..9aaf628 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='bump_python', packages=['bump'], description='Notify your Phone from Python', - version='0.1', + version='0.1.1', url='https://git.maenle.tech/raphael/bump_python', author='Raphael Maenle', author_email='raphael@maenle.net', @@ -13,6 +13,7 @@ setup( install_requires=[ 'requests', 'pybase64', - 'qrcode' + 'qrcode', + 'random-word' ] )