<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">On 6/22/18, 10:28 AM, "Joshua Root" <jmr@macports.org> wrote:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    > I'm making some progress in writing a Portfile for my project, but I'm stuck on one point.  The project's build script uses python distutils (which I'd be happy to get rid of but that's not likely to happen
 soon).   The build commands, outside of MacPorts, are<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    > <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    > python setup.py build --3D<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    > python setup.py install  --3D --prefix=/some/installation/directory<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    Given that this is a distutils-based project, you should probably be<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    using the python portgroup.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fguide.macports.org%2Fchunked%2Freference.portgroup.html%23reference.portgroup.python&data=02%7C01%7Cstephen.langer%40nist.gov%7Cda46c0f003e74d91d93e08d5d84c5e6f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636652744881116053&sdata=zKW0QVKgF3shdTtOFm6R6H%2BGeNJsmYmrI1yC5l%2FfshM%3D&reserved=0><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    At the very least, some of its settings will be useful to you, such as<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    the default value set for destroot.destdir:<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmacports%2Fmacports-ports%2Fblob%2Fmaster%2F_resources%2Fport1.0%2Fgroup%2Fpython-1.0.tcl%23L234&data=02%7C01%7Cstephen.langer%40nist.gov%7Cda46c0f003e74d91d93e08d5d84c5e6f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636652744881116053&sdata=SpCS5qHjMSnKVsKbe1SzUuKx4c3IXFttemeKcnC33K0%3D&reserved=0><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">    - Josh<o:p></o:p></p>
<p class="MsoPlainText">    <o:p></o:p></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black">Thanks.  I didn't even know to look for a python portgroup.  I'm still learning...<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black">-- Steve<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
</div>
</body>
</html>