Windows support: ensure cross-platform compatibility, annotate ete4/config.py file and fix function problom, add PyCharm ignore#793
Open
yudalang3 wants to merge 2 commits intoetetoolkit:ete4from
Open
Conversation
- 更新 .gitignore 文件,增加 .idea/ 目录以忽略 IDE 自动生成的文件 - 重构 ete4/config.py 文件,添加详细注释说明 XDG 标准和路径处理逻辑 - 优化 update_ete_data 函数,增加对相对路径和 URL 的处理,支持大型文件下载 - 在 setup.py 中使用 os.path.sep 以确保跨平台兼容性 refactor(config): refactor configuration files and enhance data download functionality Update .gitignore to add the .idea/ directory, ignoring IDE-generated files Refactor ete4/config.py, adding detailed comments that explain the XDG spec and path-handling logic Improve update_ete_data by handling both relative paths and URLs, with support for large-file downloads Use os.path.sep in setup.py to ensure cross-platform compatibility
- 新增 py4egps_treeview 模块,实现 eGPS 树视图的启动和配置 - 添加 ExternalCmdInvoker 类,用于跨平台执行外部命令- 在 ete4 包中集成 py4egps_treeview模块 - 更新 .gitignore 文件,忽略用户特定的项目配置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor(config): refactor configuration files and enhance data download functionality
Update .gitignore to add the .idea/ directory, ignoring IDE-generated files
Refactor ete4/config.py, adding detailed comments that explain the XDG spec and path-handling logic
Improve update_ete_data by handling both relative paths and URLs, with support for large-file downloads
Use os.path.sep in setup.py to ensure cross-platform compatibility