# Python general
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
.installed.cfg
*.egg
.pytest_cache/
.coverage
htmlcov/

# Virtual environments
venv/
env/
ENV/
.venv/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Build and distribution
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.whl
*.tar.gz

# Logs
*.log

# Demo files
demo/
备课/

# Exclude everything except what we want to track
# This tells git to ignore ALL files
/*
# Then explicitly include the files/directories we want
!/.gitignore
!/README.md
!/LICENSE.txt
!/requirements.txt
!/WGameEngine/
!/WGameEngine/**/*
# But exclude __pycache__ directories
WGameEngine/**/__pycache__/
