Files
markitect-main/history/legacy-files/install-pip.sh
tegwick 7cc81dee8f
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
feat: organize and archive legacy files to history directory
Clean up base directory by moving completed work and legacy files to
organized subdirectories within history/, improving project navigation
and separating active files from historical artifacts.

## Archived Files:

### Development Scripts → history/development-scripts/
- debug_*.py (7 files) - Legacy debugging and development scripts
- demo_issue_150.py - Issue demonstration script

### Migration Reports → history/migration-reports/
- AGENT_MIGRATION_REPORT.md - Completed agent migration work
- ASSET_MODEL_MIGRATION.md - Completed asset model migration
- KAIZEN_MIGRATION_GAMEPLAN.md - Completed kaizen framework migration
- KAIZEN_UPDATE_REPORT.md - Completed kaizen update work
- PHASE_3_COMPLETION_REPORT.md - Completed phase 3 work
- PHASE_4_COMPLETION_REPORT.md - Completed phase 4 work

### Legacy Files → history/legacy-files/
- .env.tddai - Legacy TDD framework configuration
- README.html - Generated file (superseded by README.md)
- test_status.html - Generated test status file
- install-*.sh (5 files) - Legacy individual install scripts

## Benefits:
- **Cleaner Repository**: Base directory now focused on active development
- **Better Organization**: Historical files properly categorized and preserved
- **Improved Navigation**: Easier to find current vs. historical information
- **Preserved History**: All work artifacts maintained for reference

Repository now has 33 active files in base directory (reduced from 48)
with complete historical preservation in organized subdirectories.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:55:23 +02:00

75 lines
2.0 KiB
Bash

#!/bin/bash
#
# install-pip.sh - Install Python package dependencies for MarkiTect project
#
# USAGE
#
# run "./install-pip.sh" after activating the virtual environment
# or run "source .venv/bin/activate && ./install-pip.sh"
#
set -e # Exit on any error
echo "🐍 MarkiTect Python Dependencies Installer"
echo "=========================================="
echo ""
# Check if virtual environment is active
if [ -z "$VIRTUAL_ENV" ]; then
echo "⚠️ Virtual environment not detected"
echo " Checking for .venv directory..."
if [ -d ".venv" ]; then
echo "📁 Found .venv directory"
echo " Activating virtual environment..."
source .venv/bin/activate
echo "✅ Virtual environment activated: $VIRTUAL_ENV"
else
echo "❌ No .venv directory found"
echo " Please create a virtual environment first:"
echo " python3 -m venv .venv"
echo " source .venv/bin/activate"
exit 1
fi
else
echo "✅ Virtual environment active: $VIRTUAL_ENV"
fi
echo ""
echo "📦 Installing project in development mode..."
pip install -e .
echo ""
echo "🧪 Installing testing dependencies..."
pip install pytest pytest-cov
echo ""
echo "🛠️ Installing development dependencies..."
pip install black flake8 mypy
echo ""
echo "🏗️ Installing build dependencies..."
pip install build
echo ""
echo "📋 Verifying installations..."
echo " Python: $(python --version)"
echo " pip: $(pip --version | cut -d' ' -f1-2)"
echo " pytest: $(pytest --version | head -n1)"
echo " black: $(black --version)"
echo " flake8: $(flake8 --version | cut -d' ' -f1-2)"
echo " mypy: $(mypy --version)"
echo ""
echo "📚 Installed packages:"
pip list --format=columns
echo ""
echo "✅ Python dependencies installation complete!"
echo ""
echo "🎯 Next steps:"
echo " - Run tests: make test"
echo " - Run linting: make lint"
echo " - Format code: make format"
echo " - Build package: make build"