<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I have a need to run the latest GIT of the aws-cli, so while the
port is there, I need to be able to compile and install the nightly
code updates for testing.<br>
<br>
So I am building aws-cli from the GIT repository.<br>
<br>
<br>
Thanks.<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/2/19 3:07 PM, Christopher Jones
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:99871D05-2DD4-4AA7-B36C-E5691409A07D@hep.phy.cam.ac.uk">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class=""><br class="">
</div>
<div class="">OK.</div>
<div class=""><br class="">
</div>
<div class="">So when you say build from source, do you mean using
MacPorts port for this, or are you building directly yourself
(and if the later, any reason why you are not using the port ?)</div>
<div class=""><br class="">
</div>
<div class=""><a
href="https://github.com/macports/macports-ports/blob/master/python/py-awscli/Portfile"
class="" moz-do-not-send="true">https://github.com/macports/macports-ports/blob/master/python/py-awscli/Portfile</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">crjoberon
~ > port search awscli</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">awscli_select
@0.1 (python, sysutils)</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">
common files for selecting default awscli version</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class=""><br
class="">
</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">py-awscli
@1.16.292 (python)</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">
Universal Command Line Environment for AWS.</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class=""><br
class="">
</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">py27-awscli
@1.16.292 (python)</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">
Universal Command Line Environment for AWS.</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class=""><br
class="">
</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">py35-awscli
@1.16.292 (python)</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">
Universal Command Line Environment for AWS.</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class=""><br
class="">
</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">py36-awscli
@1.16.292 (python)</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">
Universal Command Line Environment for AWS.</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class=""><br
class="">
</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">py37-awscli
@1.16.292 (python)</span></font></div>
<div class=""><font class="" color="#ffffff"><span
style="caret-color: rgb(255, 255, 255);" class="">
Universal Command Line Environment for AWS.</span></font></div>
</blockquote>
<div><br class="">
</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">On 2 Dec 2019, at 8:43 pm, Forrest
<forrie@forr</div>
</blockquote>
<br class="">
<blockquote type="cite" class="">
<div class=""><a href="http://ie.com" class=""
moz-do-not-send="true">ie.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">The /usr/bin/python installs the executable
into /usr/local/bin. I'd be fine if the Macports installed
it in /opt/local/bin -- this makes me believe there is a
config directive I'm missing somewhere.<br class="">
<br class="">
<br class="">
<br class="">
On 12/2/19 2:38 PM, Christopher Jones wrote:<br class="">
<blockquote type="cite" class="">When you say " vs
/usr/bin/python that does the right thing and places the
commands in proper places “ where exactly are you
referring to ? Where exactly do you want the macports
provided python to install things to ?<br class="">
<br class="">
<blockquote type="cite" class="">On 2 Dec 2019, at 7:50
pm, Forrest <<a href="mailto:forrie@forrie.com"
class="" moz-do-not-send="true">forrie@forrie.com</a>>
wrote:<br class="">
<br class="">
I'm new to Python and I'm trying to figure out why,
for example, when I install aws-cli (from source)
using Macports, it doesn't install properly vs
/usr/bin/python that does the right thing and places
the commands in proper places. When I run
"/opt/local/bin/python setup.py install" it ends up
buried in directories under the Macports directory
structure, which isn't usable. Maybe I am missing
some ENV variables?<br class="">
<br class="">
<br class="">
<br class="">
F<br class="">
<br class="">
</blockquote>
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</blockquote>
<br>
</body>
</html>