Enhance project cleanup and update gitignore for PyPI publishing

## Enhanced .gitignore
- Add PyPI publishing exclusions (*.whl, *.tar.gz, twine.log, .twine/)
- Improve security exclusions (.pypirc for API tokens)
- Add comprehensive development tool exclusions (.mypy_cache/, .ruff_cache/, etc.)
- Expand build artifact exclusions (additional package formats)
- Add IDE-specific exclusions for better development experience
- Include publishing and release directory exclusions

## Version Consistency
- Update VERSION file to proper PyPI format (4.0.0b1)
- Maintain consistency across all version references

## Project Cleanup
- Remove Python cache directories (__pycache__)
- Remove egg-info directories (SuperClaude.egg-info)
- Remove temporary setup completion files
- Clean development artifacts for distribution readiness

## New Maintenance Tool
- Add scripts/cleanup.sh: Comprehensive cleanup script for:
  - Python cache files and compiled bytecode
  - Build artifacts (dist/, build/, *.egg-info)
  - Test artifacts (.pytest_cache/, coverage files)
  - Development tool cache (.mypy_cache/, .ruff_cache/)
  - Temporary and backup files
  - PyPI publishing artifacts
  - OS-specific files (.DS_Store, Thumbs.db)

## Security Enhancements
- Exclude .pypirc from version control (contains API tokens)
- Ensure sensitive files are properly ignored
- Remove temporary setup files from repository

This ensures a clean, secure, and professionally organized
repository ready for PyPI publication with comprehensive
development tool support and proper artifact management.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
NomenAK
2025-08-15 15:20:35 +02:00
parent e8afb94163
commit 85bcee15c4
3 changed files with 159 additions and 3 deletions

59
.gitignore vendored
View File

@@ -23,6 +23,12 @@ share/python-wheels/
*.egg
MANIFEST
# PyPI Publishing
*.whl
*.tar.gz
twine.log
.twine/
# PyInstaller
*.manifest
*.spec
@@ -125,13 +131,62 @@ site/
*.temp
.temp/
# Security
# Security & API Keys
.env
.env.local
.env.*.local
.pypirc
secrets/
private/
*.key
*.pem
*.p12
*.pfx
*.pfx
# PyPI & Package Management
uv.lock
Pipfile.lock
poetry.lock
requirements-dev.txt
requirements-test.txt
# Development Tools
.mypy_cache/
.ruff_cache/
.black/
.isort.cfg
.flake8
pyrightconfig.json
.pylintrc
# Publishing & Release
PYPI_SETUP_COMPLETE.md
release-notes/
changelog-temp/
# Build artifacts (additional)
*.deb
*.rpm
*.dmg
*.pkg
*.msi
*.exe
# IDE & Editor specific
.vscode/settings.json
.vscode/launch.json
.idea/workspace.xml
.idea/tasks.xml
*.sublime-project
*.sublime-workspace
# System & OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini
$RECYCLE.BIN/