Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_data_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ pushd python/ || exit

# Assumes that https://github.com/sid-kap/housing-data-data has been cloned at the same level as the
# housing-data repo.
poetry run build_data --data-repo-path ../../housing-data-data
uv run python -m housing_data.build_data --data-repo-path ../../housing-data-data

popd || exit
14 changes: 4 additions & 10 deletions build_data_vercel.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#! /usr/bin/env bash

curl https://pyenv.run | bash
curl -LsSf https://astral.sh/uv/install.sh | sh

export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
# shellcheck disable=SC1091
source "$HOME/.local/bin/env"

pyenv install 3.11.5
pyenv global 3.11.5

pip3 install --user poetry
cd python || exit
export PATH=$PATH:$HOME/.local/bin
poetry install --no-dev

git clone https://github.com/sid-kap/housing-data-data ../housing-data-data
poetry run build_data --data-repo-path ../housing-data-data
uv run python -m housing_data.build_data --data-repo-path ../housing-data-data
1 change: 1 addition & 0 deletions python/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
Loading
Loading