Contributing to PlutoPrint
We welcome contributions! PlutoPrint is a Python wrapper around a C++ library, so the environment setup is slightly more involved than pure Python projects.
Development Environment
-
Clone the repository:
git clone https://github.com/plutoprint/plutoprint cd plutoprint -
Install Build Tools: You need a C++ compiler,
meson, andninja. See the Installation page for platform-specific dependencies. -
Install Python Dev Dependencies:
pip install -r docs/requirements.txt pip install pytest meson-python build
Running Tests
The project uses pytest.
python -m pytest
Tests are located in the tests/ directory and cover Book rendering, canvas operations, and configuration objects.
Submitting Pull Requests
- Fork the repository.
- Create a feature branch.
- Ensure all tests pass.
- Submit a PR describing your changes.