-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
refactoringChanges without bug fixes or adding new featuresChanges without bug fixes or adding new features
Milestone
Description
This issue tracks the third phase of our C/C++ code migration plan. The goal is to gradually move C/C++ files from their current locations to the new organized structure while maintaining full backward compatibility.
Objectives:
- Create cpp subdirectory in StatTools/
- Move C/C++ source files to new location
- Update build system to find files in new location
- Maintain both old and new import paths during transition
- Verify all functionality remains intact
Implementation Plan:
- Create StatTools/cpp/ directory structure:
StatTools/ ├── cpp/ │ ├── StatTools_C_API.cpp │ └── DFA.cpp └── ... (other files) - Update CMakeLists.txt to reference new file locations
- Modify setup.py build configuration for new structure
- Create symlinks or copy files temporarily if needed for compatibility
- Add comprehensive tests for both old and new file locations
- Document the file migration in CHANGELOG.md
Acceptance Criteria:
- All C/C++ files successfully moved to cpp/ subdirectory
- Build system correctly finds files in new location
- Both old and new import paths continue to work
- No performance degradation from file relocation
- Tests pass for all functionality
- Migration documented with clear timeline
Metadata
Metadata
Assignees
Labels
refactoringChanges without bug fixes or adding new featuresChanges without bug fixes or adding new features