adds required setup packages

This commit is contained in:
Raphael Maenle 2022-01-15 14:12:51 +01:00
parent b18854d3a5
commit c8ce01277b
3 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
*__pycache__/* *__pycache__/*
*/__pycache__/*
.bump* .bump*
*.tar.gz *.tar.gz
*.egg-info/* *.egg-info/*

View File

@ -1,5 +1,4 @@
import time import time
import ipdb
import json import json
import random import random
import qrcode import qrcode
@ -7,12 +6,11 @@ import requests
import base64 import base64
import re import re
import os import os
from random_word import RandomWords
SENDER_LENGTH = 4 SENDER_LENGTH = 4
PASSWORD_LENGTH = 8 PASSWORD_LENGTH = 8
from random_word import RandomWords
import secrets import secrets
from base64 import urlsafe_b64encode as b64e, urlsafe_b64decode as b64d from base64 import urlsafe_b64encode as b64e, urlsafe_b64decode as b64d
@ -97,7 +95,7 @@ class Bump:
def show_secret(self): 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: for secret in self.secrets:
qr = qrcode.QRCode( qr = qrcode.QRCode(
version=1, version=1,

View File

@ -4,7 +4,7 @@ setup(
name='bump_python', name='bump_python',
packages=['bump'], packages=['bump'],
description='Notify your Phone from Python', description='Notify your Phone from Python',
version='0.1', version='0.1.1',
url='https://git.maenle.tech/raphael/bump_python', url='https://git.maenle.tech/raphael/bump_python',
author='Raphael Maenle', author='Raphael Maenle',
author_email='raphael@maenle.net', author_email='raphael@maenle.net',
@ -13,6 +13,7 @@ setup(
install_requires=[ install_requires=[
'requests', 'requests',
'pybase64', 'pybase64',
'qrcode' 'qrcode',
'random-word'
] ]
) )