From d9d79a52fc2e7e7940d212d4fd237d45fbb85ee1 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sat, 24 Apr 2021 19:18:12 -0500 Subject: [PATCH] Renamed module to panera_shifts and added setup.py --- {panera_sync => panera_shifts}/__init__.py | 0 {panera_sync => panera_shifts}/fill_form.py | 0 {panera_sync => panera_shifts}/login.py | 0 {panera_sync => panera_shifts}/oauth_required.py | 0 {panera_sync => panera_shifts}/saml_check.py | 0 {panera_sync => panera_shifts}/user.py | 0 requirements.txt | 2 ++ setup.py | 14 ++++++++++++++ 8 files changed, 16 insertions(+) rename {panera_sync => panera_shifts}/__init__.py (100%) rename {panera_sync => panera_shifts}/fill_form.py (100%) rename {panera_sync => panera_shifts}/login.py (100%) rename {panera_sync => panera_shifts}/oauth_required.py (100%) rename {panera_sync => panera_shifts}/saml_check.py (100%) rename {panera_sync => panera_shifts}/user.py (100%) create mode 100644 requirements.txt create mode 100644 setup.py diff --git a/panera_sync/__init__.py b/panera_shifts/__init__.py similarity index 100% rename from panera_sync/__init__.py rename to panera_shifts/__init__.py diff --git a/panera_sync/fill_form.py b/panera_shifts/fill_form.py similarity index 100% rename from panera_sync/fill_form.py rename to panera_shifts/fill_form.py diff --git a/panera_sync/login.py b/panera_shifts/login.py similarity index 100% rename from panera_sync/login.py rename to panera_shifts/login.py diff --git a/panera_sync/oauth_required.py b/panera_shifts/oauth_required.py similarity index 100% rename from panera_sync/oauth_required.py rename to panera_shifts/oauth_required.py diff --git a/panera_sync/saml_check.py b/panera_shifts/saml_check.py similarity index 100% rename from panera_sync/saml_check.py rename to panera_shifts/saml_check.py diff --git a/panera_sync/user.py b/panera_shifts/user.py similarity index 100% rename from panera_sync/user.py rename to panera_shifts/user.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..828889b --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +requests +lxml diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..37a8113 --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup, find_packages + +with open("requirements.txt") as file: + INSTALL_REQUIRES = file.read().rstrip().split("\n") + + setup( + name="panera_shifts", + version="1.0", + description="Get all shifts from panera, for use with syncing to a calendar backend", + install_requires=INSTALL_REQUIRES, + author="Raphael Roberts", + author_email="raphael.roberts48@gmail.com", + packages=find_packages(), + )