From bdf5c9fb4feeb40ff78c559a9cfef0ee658e1c01 Mon Sep 17 00:00:00 2001 From: raphael Date: Fri, 14 Jan 2022 22:17:01 +0100 Subject: [PATCH] adds pip setup script, updates gitignore - pip setup.py is provided to allow installs via pip this includes a brief package description and install dependencies - bump is now moved to a subfolder bump with __init__ as this is a package setup requirement - gitignore now ignores any tar'ed files and any pycaches --- .gitignore | 4 +++- bump/__init__.py | 2 ++ bump.py => bump/bump.py | 0 setup.py | 18 ++++++++++++++++++ 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 bump/__init__.py rename bump.py => bump/bump.py (100%) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index beb9746..7b7c5ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -__pycache__/* +*__pycache__/* .bump* +*.tar.gz +*.egg-info/* diff --git a/bump/__init__.py b/bump/__init__.py new file mode 100644 index 0000000..7a74295 --- /dev/null +++ b/bump/__init__.py @@ -0,0 +1,2 @@ +from bump.bump import Bump + diff --git a/bump.py b/bump/bump.py similarity index 100% rename from bump.py rename to bump/bump.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3f20b2b --- /dev/null +++ b/setup.py @@ -0,0 +1,18 @@ +from setuptools import setup + +setup( + name='bump_python', + packages=['bump'], + description='Notify your Phone from Python', + version='0.1', + url='https://git.maenle.tech/raphael/bump_python', + author='Raphael Maenle', + author_email='raphael@maenle.net', + keywords=['pip','maenle','bump','notify','phone'], + license='MIT', + install_requires=[ + 'requests', + 'base64', + 'qrcode' + ] + )