2 Commits

Author SHA1 Message Date
NomenAK
85bcee15c4 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>
2025-08-15 15:20:35 +02:00
NomenAK
e8afb94163 Add comprehensive PyPI publishing infrastructure
## Version Management & Consistency
- Update to version 4.0.0b1 (proper beta versioning for PyPI)
- Add __version__ attribute to SuperClaude/__init__.py
- Ensure version consistency across pyproject.toml, __main__.py, setup/__init__.py

## Enhanced Package Configuration
- Improve pyproject.toml with comprehensive PyPI classifiers
- Add proper license specification and enhanced metadata
- Configure package discovery with inclusion/exclusion patterns
- Add development and test dependencies

## Publishing Scripts & Tools
- scripts/build_and_upload.py: Advanced Python script for building and uploading
- scripts/publish.sh: User-friendly shell wrapper for common operations
- scripts/validate_pypi_ready.py: Comprehensive validation and readiness checker
- All scripts executable with proper error handling and validation

## GitHub Actions Automation
- .github/workflows/publish-pypi.yml: Complete CI/CD pipeline
- Automatic publishing on GitHub releases
- Manual workflow dispatch for TestPyPI uploads
- Package validation and installation testing

## Documentation & Security
- PUBLISHING.md: Comprehensive PyPI publishing guide
- scripts/README.md: Detailed script usage documentation
- .env.example: Environment variable template
- Secure token handling with both .pypirc and environment variables

## Features
 Version consistency validation across all files
 Comprehensive PyPI metadata and classifiers
 Multi-environment publishing (TestPyPI + PyPI)
 Automated GitHub Actions workflow
 Security best practices for API token handling
 Complete documentation and troubleshooting guides
 Enterprise-grade validation and error handling

The SuperClaude Framework is now fully prepared for PyPI publication
with professional-grade automation, validation, and documentation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 15:15:51 +02:00