<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
16.08.2016, 19:37, Daniel Holth kirjoitti:<br>
<blockquote
cite="mid:CAG8k2+5GxzqtCZcJ8K-xPgAJANfGf8=HcsTzmR44HUJKqSFG7A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">On Tue, Aug 16, 2016 at 12:06 PM Donald Stufft
<<a moz-do-not-send="true" href="mailto:donald@stufft.io">donald@stufft.io</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br>
<div>
<blockquote type="cite">
<div>On Aug 16, 2016, at 8:50 AM, Daniel Holth <<a
moz-do-not-send="true"
href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>>
wrote:</div>
<br>
<div><span
style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Wheel
should be updated to support the egg use case
before egg is removed. IIUC this would mostly mean
officially supporting 'unzipped wheel' as a thing
you can add to PYTHONPATH, possibly with some
additional restrictions for the specific wheel. We
could go a little further and officially support
zipped wheels "if zip safe". We could implement
wheel2egg to complement egg2wheel?</span></div>
</blockquote>
</div>
<br>
<div><br>
</div>
</div>
<div style="word-wrap:break-word">
<div>I don’t think Wheel should officially supported unzip
wheels as a thing you can add to PYTHONPATH nor do I
think we should officially support zipped wheels being
added to PYTHONPATH. Neither of those things are going
to work universally and setuptools has gross heuristics
to try and figure out when they will and won’t work
(which regularly break or report inaccurately). Wheel is
improved by remaining focused on being a format for
distributing and installed via an installer, not one
that tries to do all of the things like Egg did.</div>
</div>
</blockquote>
<div><br>
</div>
<div>So this is how I envision "installing a wheel to its own
directory".</div>
<div><br>
</div>
<div>1. Unzip the wheel into its own directory.</div>
<div>2. If there are any nested *.data/purelib, platlib, make
sure they are also unzipped into the root of the unzipped
wheel instead of their archive paths.</div>
<div>3. If there are scripts and you want them, install those
too.</div>
<div><br>
</div>
<div>If 2 and 3 don't apply to you, you are done almost before
you've started. What's missing?</div>
</div>
</div>
<br>
</blockquote>
How does one go about installing console_scripts this way?<br>
<blockquote
cite="mid:CAG8k2+5GxzqtCZcJ8K-xPgAJANfGf8=HcsTzmR44HUJKqSFG7A@mail.gmail.com"
type="cite">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Distutils-SIG maillist - <a class="moz-txt-link-abbreviated" href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a>
</pre>
</blockquote>
<br>
</body>
</html>