diff --git a/.envrc b/.envrc new file mode 100755 index 0000000..1b4b3d6 --- /dev/null +++ b/.envrc @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -eo pipefail +shopt -s inherit_errexit + +watch_file venv/bin/activate + +if [[ -f "venv/bin/activate" ]]; then + source venv/bin/activate +fi diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c63892b..3818efb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' architecture: x64 - run: make build - run: venv-tools/bin/twine upload dist/* diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12