Re: Introducing XAR - SquashFS based mountable executables - Calling OS/Distro Maintainers

Nick Terrell <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CANr2Dbd=yJ0FzdHTphVQKOeXCeQfCR0T5cJhz9CQWanCP2tUzw@mail.gmail.com>
On Thu, Jul 19, 2018 at 10:55 AM, Daniel Holth <[email protected]> wrote:
> This is very cool. I'm glad to see attention towards packaging useful
> applications and not just libraries for web development in a virtualenv, and
> the limitations of zip compression are felt by our Python applications
> comprised of many separately compressed files.
> Is bdist_xar calling out to pip to install all of a package's dependencies
> (or all that are not already installed) into the xar as part of the build?

bdist_xar doesn't install dependencies by default, but if you're
missing a dependency it will prompt you to pass the --download flag,
which loads the pip entry point to download (but not install) the
missing dependencies as wheels or sdists. Its currently disabled by
default because it was merged a day before release, but I intend on
enabling it by default. For reference, the code is here
https://github.com/facebookincubator/xar/blob/master/xar/pip_installer.py#L145.

-Nick
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/SQU4HHB3UDD4OM7IIPWDOUEUDH4SLSL2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.