<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It depends on the use case, but with Python often it's worth using a
virtualenv with a requirements.txt, the commands are virtualenv-2.7
and pyvenv-3.4 in MacPorts. This allows better reproduceability and
it's fairly easy to start the setup again with a fresh virtualenv. I
think Ruby has at least one equivalent. I don't know about Perl.
With Python's pip, there's also the --user flag, but it's less easy
to clean up and start again or have multiple set-ups.<br>
<br>
Russell<br>
<br>
<div class="moz-cite-prefix">On 16/07/15 01:50, Brandon Allbery
wrote:<br>
</div>
<blockquote
cite="mid:CAKFCL4VuxuoeOQxSpbKuQDJ4479xeJmWpS++KGdbo2bHhuTAxg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Jul 15, 2015 at 8:45 PM,
Ludwig <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:macports@metaspasm.org" target="_blank">macports@metaspasm.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Wed, 15 Jul 2015, Ryan Schmidt wrote:<br>
> MacPorts should be the only software installing
files into the MacPorts<br>
> prefix (/opt/local); using pip (or anything else)
to install software into<br>
> the MacPorts prefix is not recommended.<br>
<br>
</span>Does this include ruby gems?</blockquote>
<div><br>
</div>
<div>All of Perl, Python, and Ruby recommend you do not
install manually any modules / packages in a package
manager-provided tree, not even with standard utilities
like Perl's cpan. There are very good reasons for this,
although less applicable to MacPorts than to, say, Linux
(where installing the wrong Perl module on a Debian-ish
system can break dpkg/apt-get, or the wrong Python module
on a Red Hat-ish system can break yum. I've actually had
to help someone try to recover from the former).</div>
</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>brandon s allbery kf8nh
sine nomine associates</div>
<div><a moz-do-not-send="true"
href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>
<a
moz-do-not-send="true"
href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad
<a moz-do-not-send="true" href="http://sinenomine.net"
target="_blank">http://sinenomine.net</a></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
macports-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a>
<a class="moz-txt-link-freetext" href="https://lists.macosforge.org/mailman/listinfo/macports-users">https://lists.macosforge.org/mailman/listinfo/macports-users</a>
</pre>
</blockquote>
<br>
</body>
</html>