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
20 changes: 9 additions & 11 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ if [[ -f .env ]]; then
dotenv .env
fi

PATH_add "${HOME}/.local/share/sentry-devenv/bin"

if ! command -v devenv >/dev/null; then
echo "install devenv: https://github.com/getsentry/devenv#install"
return 1
if [ ! -d .venv ]; then
echo "warning: creating virtualenv for the first time"
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
else
source .venv/bin/activate
unset PS1
fi

PATH_add "${PWD}/.devenv/bin"

export VIRTUAL_ENV="${PWD}/.venv"

PATH_add "${PWD}/.venv/bin"
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev-frozen.txt
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
- name: Run tests
run: pytest --cov --junitxml=junit.xml -o junit_family=legacy
Expand Down
7 changes: 0 additions & 7 deletions Makefile

This file was deleted.

19 changes: 0 additions & 19 deletions devenv/config.ini

This file was deleted.

24 changes: 0 additions & 24 deletions devenv/sync.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyoxidizer.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def make_exe():

# Invoke `pip install` using a requirements file and add the collected resources
# to our binary.
exe.add_python_resources(exe.pip_install(["-r", "requirements-frozen.txt"]))
exe.add_python_resources(exe.pip_install(["-r", "requirements.txt"]))

# Read Python files from a local directory and add them to our embedded
# context, taking just the resources belonging to the `foo` and `bar`
Expand Down
46 changes: 0 additions & 46 deletions requirements-dev-frozen.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ setuptools==70.0.0
build==0.8.0
wheel==0.42.0
freezegun==1.2.2
pip-tools
19 changes: 0 additions & 19 deletions requirements-frozen.txt

This file was deleted.

Loading