Re: PEP-582 concerns
"Alex Walters" <[email protected]>
| Newsgroups | gmane.comp.python.distutils.devel |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: Chad Smith <[email protected]> > Sent: Friday, March 1, 2019 1:33 PM > To: Alex Walters <[email protected]> > Subject: Re: [Distutils] Re: PEP-582 concerns > > I was not aware that discuss.python.org <http://discuss.python.org> was > being used now. I started a thread there on PEP-582: > https://discuss.python.org/t/pep-582-python-local-packages-directory/963. > Would you mind reposting your response there? > Yes, I actually would greatly mind posting on discuss.python.org, that site is itself contentious. Discussion mediums have been discussed to death, I won't rehash it here (nor do I want to open that issue back up), but I posted on the list for a reason. > On Fri, Mar 1, 2019 at 2:30 AM Alex Walters <[email protected] > <mailto:[email protected]> > wrote: > > > 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] <mailto:[email protected]> > <[email protected] <mailto:[email protected]> > > > Sent: Thursday, February 28, 2019 12:42 PM > > To: [email protected] <mailto:[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] <mailto:distutils- > [email protected]> > > To unsubscribe send an email to [email protected] > <mailto:[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/ > <http://[email protected]/message/NAXGS7PZ7TELPEW2ZNNHW7N3RQDCPZ > SN/> > > -- 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/4BPUW4QTGA322L44LJXYU7MTZB4OL3ZK/