[Tutor] organisation of folder structure of Python'sinstallation directory

Malhar Lathkar mlathkar at gmail.com
Mon Oct 22 11:58:55 EDT 2018


Is it possible to install just python runtime environment only similar to
JRE?

On Sun, 21 Oct 2018, 20:12 Mats Wichmann, <mats at wichmann.us> wrote:

> [image: Boxbe] <https://www.boxbe.com/overview> Mats Wichmann (
> mats at wichmann.us) is not on your Guest List
> <https://www.boxbe.com/approved-list?tc_serial=44385415192&tc_rand=388039370&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=6G8QOwjK9TNLUHOytim3gmRP0UOD8%2FLoSDILJDe73Hw%3D&token=9etRD1ySP8I3cCxjMRY3gKs3tXfT%2FAEKjCtTsohOcpCN1P4b6GGMpW4tTR6EDbN4>
> | Approve sender
> <https://www.boxbe.com/anno?tc_serial=44385415192&tc_rand=388039370&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=6G8QOwjK9TNLUHOytim3gmRP0UOD8%2FLoSDILJDe73Hw%3D&token=9etRD1ySP8I3cCxjMRY3gKs3tXfT%2FAEKjCtTsohOcpCN1P4b6GGMpW4tTR6EDbN4>
> | Approve domain
> <https://www.boxbe.com/anno?tc_serial=44385415192&tc_rand=388039370&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=6G8QOwjK9TNLUHOytim3gmRP0UOD8%2FLoSDILJDe73Hw%3D&token=9etRD1ySP8I3cCxjMRY3gKs3tXfT%2FAEKjCtTsohOcpCN1P4b6GGMpW4tTR6EDbN4>
> On 10/21/18 12:52 AM, Malhar Lathkar wrote:
> > Hi all.
> >
> > I am trying to understand how Python's installation directory is
> organized.
> > I find lib as well as libs folder. what's the difference? I couldn't find
> > exact explanation of purpose of various other sub folders like include,
> > scripts, share etc. Can you help me understand this? Please share
> > documentation link if any.
> >
> > thanks.
> >
>
> on a Windows installation, Lib is the python code for the standard
> library, while DLLs contains any backing binary objects for the standard
> library; meanwhile libs is what is necessary to to link with the python
> libraries themselves, as when developing a C-language extension. include
> is the header files used for compiling such extensions - so these two
> are not part of the Python runtime, but have this special purpose.
> (note sometimes when you "python -m pip install" it may try to compile
> some code, so this is not always just for you yourself to write
> extensions).
>
> The rest should be relatively straightforward.
>
> The layout can be quite different on other systems. A /usr/share
> directory on Linux is used here for shareable, non-binary pieces like
> documentation and license files. The python layout on Linux is normally
> packaged along the lines of the Filesystem Hierarchy Standard:
>
> https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list