Installation#
You can install collective.html2blocks in your project using several supported methods, depending on your project's setup and preferred workflow.
pyproject.tomlThis method is recommended for modern Python projects.
Add
collective.html2blocksto thedependenciessection of yourpyproject.tomlfile. This approach works with build tools like uv, Poetry or other PEP 621-compliant projects.[project] dependencies = [ "collective.html2blocks", ]
setup.pyThis method is for traditional setuptools projects.
Add
collective.html2blocksto theinstall_requireslist in yoursetup.pyfile. This is common for legacy or projects based on setuptools.install_requires=[ "collective.html2blocks" ],
requirements.txtThis method uses direct requirements management.
Add
collective.html2blocksto yourrequirements.txtfile. This is the simplest method for projects that use pip for dependency management.collective.html2blocks
Reinstall with updated dependencies#
After updating your dependency file, re-run your project's installation command (for example, pip install -r requirements.txt, uv sync, or your build tool's equivalent). The package will be installed and available for use in your environment.
Refer to the official Dependency specifiers documentation for details on specifying versions and advanced dependency options.