Size: 792
Comment: start 1st version of use case list
|
← Revision 3 as of 2025-03-16 15:46:12 ⇥
Size: 795
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Based on Python-ideas thread [[https://groups.google.com/d/topic/python-ideas/QYlbtgnSfM4/discussion|My objections to implicit package directories]] by Nick Coghlan and [[https://groups.google.com/d/msg/python-ideas/QYlbtgnSfM4/jJCM6PirLYIJ|this message]] from Yuval Greenfield: | Based on Python-ideas thread [[https://groups.google.com/d/topic/python-ideas/QYlbtgnSfM4/discussion|My objections to implicit package directories]] by Alyssa Coghlan and [[https://groups.google.com/d/msg/python-ideas/QYlbtgnSfM4/jJCM6PirLYIJ|this message]] from Yuval Greenfield: |
Line 8: | Line 8: |
standard library:: import from a list of paths to be searched. | standard library:: import from a list of paths to be searched.< |
Based on Python-ideas thread My objections to implicit package directories by Alyssa Coghlan and this message from Yuval Greenfield:
I've always had trouble understanding and explaining the complexities and intricacies of python packaging.` Is there a most basic but comprehensive list of use cases?
- standard library
import from a list of paths to be searched.<
- current project
- import from a relative path based on this file's current directory
- package bundled with project
- import from a relative path based on an anchor directory
- virtual-env
- import from an alternative lists of paths based on an anchor directory