
-----Original Message----- From: Chad Smith chadsmith27@gmail.com Sent: Friday, March 1, 2019 1:33 PM To: Alex Walters tritium-list@sdamon.com 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 <tritium-list@sdamon.com mailto:tritium-list@sdamon.com > 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: chadsmith27@gmail.com mailto:chadsmith27@gmail.com
<chadsmith27@gmail.com mailto:chadsmith27@gmail.com >
Sent: Thursday, February 28, 2019 12:42 PM To: distutils-sig@python.org mailto:distutils-sig@python.org 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 -- distutils-sig@python.org <mailto:distutils-
sig@python.org>
To unsubscribe send an email to distutils-sig-leave@python.org
mailto:distutils-sig-leave@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/distutils-
sig@python.org/message/NAXGS7PZ7TELPEW2ZNNHW7N3RQDCPZSN/ http://sig@python.org/message/NAXGS7PZ7TELPEW2ZNNHW7N3RQDCPZ SN/
participants (1)
-
Alex Walters