Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .onAttach to prevent reticulate prompt #284

Merged
merged 7 commits into from
Jan 12, 2025
Merged

Update .onAttach to prevent reticulate prompt #284

merged 7 commits into from
Jan 12, 2025

Conversation

davidycliao
Copy link
Owner

Update .onAttach to prevent reticulate prompts

  • Add option to disable reticulate's Python environment messages, preventing automatic creation of new 'r-reticulate' environment after user confirmation
  • Isolate docker environment in .onAttach

 - Use path.expand for cross-platform compatibility
- Add virtualenv to system dependencies
- Move Python virtual environment from /opt/venv to ~/flair_env
- Update environment variables to use $VENV_PATH
- Update RETICULATE_PYTHON path configuration
Add Docker environment detection and support
- Remove RETICULATE_PYTHON initialization
- Add Docker environment check
- Use pre-configured Python path in Docker environment
- Remove RETICULATE_PYTHON initialization
Update .onAttach to prevent reticulate prompt

- Add option to disable reticulate's Python environment prompt
- Clean up Python environment setup logic
- Remove unnecessary sys.unsetenv call
@davidycliao davidycliao merged commit 421f73c into main Jan 12, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant