Clarify wheels support zipimport
This commit is contained in:
parent
2e47d2bdaa
commit
26d5c79fb9
|
@ -381,6 +381,14 @@ What's the deal with "purelib" vs. "platlib"?
|
|||
depending on whether it is pure Python or not and those files should
|
||||
be at the root with the appropriate setting given for "Root-is-purelib".
|
||||
|
||||
Is it possible to import Python code directly from a wheel file?
|
||||
Yes, the wheel format is deliberately designed to be compatible with
|
||||
Python's support for importing from zip files. While not all wheels
|
||||
will support being used that way (for example, if they include C
|
||||
extensions), most pure Python wheels can be used that way just by
|
||||
placing their name on ``sys.path``.
|
||||
|
||||
|
||||
References
|
||||
==========
|
||||
|
||||
|
|
Loading…
Reference in New Issue