The codebuff project follows the modern Python packaging structure:
pyproject.toml: Contains project metadata and build system requirements.src/codebuff/: Source code directory.tests/: Directory for test files (currently empty).dist/: Contains distribution files after building the package.LICENSE: MIT License file.README.md: Project description and usage instructions.
- Uses
setuptoolsas the build backend. - Configured to use the
srclayout for better separation of source code.
- Name: codebuff
- Description: An AI-powered coding assistant (coming soon)
- Requires Python 3.6 or later
- The project can be built using the
buildpackage:python -m build - This creates both source (.tar.gz) and wheel (.whl) distributions in the
dist/directory.
- For local development, install the package in editable mode:
pip install -e . - Remember to update the version in
pyproject.tomlwhen making new releases.
- Implement the main functionality of the AI-powered coding assistant.
- Add tests in the
tests/directory. - Update
README.mdwith detailed usage instructions as features are developed.
- The package currently uses a console script entry point, which should be implemented in the
manicode/__init__.pyfile. - The project is in a pre-alpha state and not yet ready for public release.
Remember to keep this knowledge file updated as the project evolves.
- Name: codebuff
- Description: An AI-powered coding assistant
- Status: Placeholder package that redirects users to npm version
Important: Use virtual environments for package development:
python3 -m venv venv
source venv/bin/activate
pip install build- Create and activate virtual environment
- Install build tools:
pip install build - Build package:
python -m build - Upload to PyPI:
python -m twine upload dist/*
Note: The package currently serves as a placeholder, directing users to install the npm version instead.
- Update version in
pyproject.tomlbefore publishing - Follow semantic versioning (major.minor.patch)