From 6e3ab868852e659acc3e7d89c88eec0e856bc51d Mon Sep 17 00:00:00 2001 From: Zachary Hampton <69336300+ZacharyHampton@users.noreply.github.com> Date: Fri, 15 Sep 2023 13:06:14 -0700 Subject: [PATCH] - scrapers & pypi init --- .github/workflows/publish-to-pypi.yml | 33 ++++++++++++++++++++ homeharvest/core/__init__.py | 0 homeharvest/core/scrapers/__init__.py | 0 homeharvest/core/scrapers/redfin/__init__.py | 0 homeharvest/core/scrapers/zillow/__init__.py | 0 5 files changed, 33 insertions(+) create mode 100644 .github/workflows/publish-to-pypi.yml create mode 100644 homeharvest/core/__init__.py create mode 100644 homeharvest/core/scrapers/__init__.py create mode 100644 homeharvest/core/scrapers/redfin/__init__.py create mode 100644 homeharvest/core/scrapers/zillow/__init__.py diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml new file mode 100644 index 0000000..2962f0c --- /dev/null +++ b/.github/workflows/publish-to-pypi.yml @@ -0,0 +1,33 @@ +name: Publish Python 🐍 distributions 📦 to PyPI +on: push + +jobs: + build-n-publish: + name: Build and publish Python 🐍 distributions 📦 to PyPI + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + + - name: Install poetry + run: >- + python3 -m + pip install + poetry + --user + + - name: Build distribution 📦 + run: >- + python3 -m + poetry + build + + - name: Publish distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file diff --git a/homeharvest/core/__init__.py b/homeharvest/core/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/homeharvest/core/scrapers/__init__.py b/homeharvest/core/scrapers/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/homeharvest/core/scrapers/redfin/__init__.py b/homeharvest/core/scrapers/redfin/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/homeharvest/core/scrapers/zillow/__init__.py b/homeharvest/core/scrapers/zillow/__init__.py new file mode 100644 index 0000000..e69de29