Hynek Schlawack 7/29/2022

Recursive Optional Dependencies in Python

Read Original

This article details a method for defining recursive optional dependencies (extras) in Python packaging, moving away from setup.py to static pyproject.toml configuration. It covers the use of the Cog templating tool to automatically combine dependency sets (like 'tests' and 'docs') into a 'dev' extra, avoiding duplication and simplifying contributor setup.

Recursive Optional Dependencies in Python

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week