Skip to content

Conversation

@dongly
Copy link
Contributor

@dongly dongly commented Jan 31, 2026

  • 重构了安装脚本
  • 将安装脚本统一移动到 tools 目录
  • 更新 README 文档
  • Linux/MacOS 统一使用虚拟环境
    install_ubuntu.sh安装失败,是否应该改成使用虚拟环境? #257
    Add troubleshooting section for Ubuntu 23.04+ installation issues #269
  • 可能自定义安装目录(默认: ~/.rt-env)
    [建议]env 不要安装到 .env 目录 #230
  • 根据 IP,决定是否使用国内镜像(软件/仓库/PyPI)
  • 多平台共用的操作由 touch_env.py 统一处理,方便维护
  • Linux / MacOS 整合为一个安装文件 install.sh
  • 可选是否安装 pyocd
  • 对已经安装 ENV, 可选择多种保留策略(主要是因工具链下载时间太长了)
  • 激活后显示欢迎词
  • 可设定 env、package 、sdk 仓库的地址及分支,方便测试这些仓库的更改
  • Windows 安装脚本:
    • 设置 ps 脚本的执行策略
    • 自动搜索系统中的 Python
    • 或自动下载并安装便携式 Python
    • 为 Python 设置长路径支持
    • 自动下载安装 Git 最新版
  • 使用了 AI 辅助

已测试平台:

  • Windows 11: Windows PowerShell 5.1
  • Windows 11: PowerShell 7.5
  • Windows WSL2: Ubuntu 24.04.3 LTS

@BernardXiong 请 review

- 将安装脚本统一移动到 tools 目录
- 更新 README 文档
- 优化 env.sh 和 env.py 中的 ENV_ROOT 默认值
- 支持 Windows PowerShell 安装脚本
- 添加 touch_env.py 工具
- Show directory creation step
- Display extraction progress with progress bar
- Log archive cleanup step
- Add extracting_archive message for extraction progress
- Add cleanup_archive message for archive cleanup
- Wrap extraction in try-catch block
- Show detailed error message and stack trace on failure
- Add configuring_pth_file message when starting configuration
- Add pth_file_configured message on success
- Add python_pth_config_failed message definition
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