Web lists-archives.com

Re: Python extraneous dependencies




On Sun, 24 Feb 2019 17:42:36, Yaakov Selkowitz wrote:
On Sat, 2019-02-23 at 16:29 -0800, Steven Penny wrote:
I noticed that "python36" requires "binutils".

This is needed for ctypes.util.find_library().  FWIW, on Linux, not
only binutils is used, but also gcc.

Further, I noticed this dependency chain:

    python36 > libuuid-devel > pkg-config > libglib2.0_0

Until 3.7, the uuid stdlib module loads libuuid via ctypes, hence the
dependency.  In 3.7, there is a compiled binding, and so the -devel
dependency was dropped.  Also, pkgconf will soon be providing and
replacing pkg-config, which will cause the glib2.0 dependency to be
dropped.

thanks. i was interested further in comparison so i took this file:

https://python.org/ftp/python/3.6.8/python-3.6.8-embed-amd64.zip

then use tar for fair comparison:

   tar -a -c -f python-3.6.8-embed-amd64.tar.xz python-3.6.8-embed-amd64

result:

   $ wc -c python-3.6.8-embed-amd64.tar.xz
   5630160 python-3.6.8-embed-amd64.tar.xz

compare this with cygwin version:

   $ wc -c python36-3.6.8-1.tar.xz
   5746648 python36-3.6.8-1.tar.xz

and that doesnt include the other packages i previously discussed. so it almost
makes more sense to not even use the cygwin version?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple