Skip to content

Commit bf5b5f4

Browse files
tdhopperclaude
andcommitted
Migrate build system from conda to uv
- Add 'setup' target to install dependencies with uv - Update 'dev_environment' to use new setup process - Remove 'plotly_auth' target (no longer needed with plotly v5) - Update .PHONY declarations - Add informative messages about conda → uv migration Core build targets (render, qrender, test) remain unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0f330d3 commit bf5b5f4

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

Makefile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ clean:
1212

1313
travis: render
1414

15-
plotly_auth:
16-
python ./.travis/authenticate_plotly.py
15+
setup:
16+
@echo "Setting up development environment..."
17+
@echo "1. Installing Python dependencies with uv..."
18+
@command -v uv >/dev/null 2>&1 || { echo "Installing uv..."; curl -LsSf https://astral.sh/uv/install.sh | sh; }
19+
uv pip install -r requirements.txt
20+
@echo "2. Installing R packages..."
21+
@./setup_r.sh
22+
@echo "✓ Setup complete!"
1723

1824
test:
1925
python -m pytest tests/
@@ -30,11 +36,13 @@ s3_upload:
3036
run_nb:
3137
jupyter nbconvert --to notebook --execute "Examples.ipynb" --output "Examples.$(GIT_COMMIT).ipynb"
3238

33-
dev_environment:
34-
conda env update -q
35-
source activate pythonplot && pip install -q -r requirements.txt
39+
dev_environment: setup
40+
@echo "Development environment ready!"
41+
@echo ""
42+
@echo "Note: This project now uses uv instead of conda."
43+
@echo "R must be installed separately on your system."
3644

3745
cloudfront_invalidate:
3846
python .travis/invalidate_cloudfront.py
3947

40-
.PHONY: all qrender render s3_upload run_nb travis clean cloudfront_invalidate test dev_environment plotly_auth
48+
.PHONY: all qrender render s3_upload run_nb travis clean cloudfront_invalidate test dev_environment setup

0 commit comments

Comments
 (0)