Closed dantetemplar closed 1 month ago
I will make PR for it
Package on TestPypi using Poetry publish: https://test.pypi.org/project/pymupdf4llm/
Thank you for your suggestion. This repository is closely linked to PyMuPDF which has its own tools to achieve what we want. Over time, this package offspring will reuse what we have there.
Currently the
pymupdf4llm
package usessetup.py
for managing dependencies, packaging, and distribution. To modernize the package management and streamline the development workflow, I propose to migrate to Poetry. Poetry will handle dependencies, lock them to ensure reproducible builds, and facilitate the build and publication process.Benefits of Using Poetry:
Action Required:
setup.py
configuration to apyproject.toml
managed by Poetry.How to build and publish then:
Increase version by
poetry version <bump-rule>
:poetry publish --build
(also need to configure credentials)