Hynek Schlawack 5/19/2016

Conditional Python Dependencies

Read Original

This technical article details methods for defining conditional dependencies in Python packages, such as requiring the 'monotonic' package only for Python versions older than 3.3. It covers PEP 508 environment markers, setuptools version requirements, the use of extras_require, setup.cfg, and dynamic workarounds for older build systems to ensure correct installation across different environments.

Conditional Python Dependencies

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