Re: PEP-582 concerns

"Alex Walters" <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
I kind of feel that "third party tool can/will use this feature" is
orthogonal to "how the interpreter behaves out of the box" - unless I
misunderstand and you are suggesting python grow support for launching
entrypoints from the python executable.

> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Thursday, February 28, 2019 12:42 PM
> To: [email protected]
> Subject: [Distutils] Re: PEP-582 concerns
> 
> Running entrypoints/executables in the bin directory has been solved by
the
> node community with npx (https://www.npmjs.com/package/npx):
> 
> > Executes <command> either from a local node_modules/.bin, or from a
> central cache, installing any packages needed in order for <command> to
> run.
> 
> I built similuar support into pipx as well, so `pipx run ENTRYPOINT` will
search
> the appropriate `__pypackages__` path for the bin dir and the entrypoint.
> This is not the only way to solve it, but it seems to be working for the
node.
> 
> Indeed, massively popular projects like `create-react-app`
> (https://github.com/facebook/create-react-app#quick-overview) include
> npx as their sole installation instructions.
> --
> Distutils-SIG mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at https://mail.python.org/archives/list/distutils-
> [email protected]/message/NAXGS7PZ7TELPEW2ZNNHW7N3RQDCPZSN/
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/GXNH6WWD5U5GQZKK2ZPKHJUXKN3XLAQD/
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.