Skip to content

Conversation

siligam
Copy link
Contributor

@siligam siligam commented Sep 2, 2025

Summary

This PR adds a comprehensive script to rename the project from pymorize/pymor to pycmor.

Features

  • Complete renaming: Handles directories, files, and content replacement
  • Safety features: Dry-run mode, backup creation, collision detection
  • Smart file handling: Skips binary files, processes text files appropriately
  • Comprehensive coverage: Updates Python code, documentation, configuration files
  • Logging: Detailed change tracking and reporting

Usage

# See what would be changed
python utils/rename_to_pycmor.py --dry-run

# Create backup and perform rename
python utils/rename_to_pycmor.py --backup

- Add rename_to_pycmor.py script to utils/ folder
- Handles renaming from pymorize/pymor to pycmor
- Features: dry-run mode, backup creation, content replacement
- Renames files, directories, and updates file contents
- Skips binary files and build artifacts
- Includes safety checks and detailed logging
- Code formatted with black, isort, and passes flake8
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