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
This commit is contained in:
Raphael Maenle 2022-01-14 22:17:01 +01:00
parent 4c6ca75fa8
commit bdf5c9fb4f
4 changed files with 23 additions and 1 deletions

4
.gitignore vendored
View File

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

2
bump/__init__.py Normal file
View File

@ -0,0 +1,2 @@
from bump.bump import Bump

18
setup.py Normal file
View File

@ -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'
]
)