Advice on distributing a project

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Fri Jun 22 15:39:25 UTC 2018


On 6/22/18, 10:28 AM, "Joshua Root" <jmr at macports.org> wrote:



    > 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

    >

    > python setup.py build --3D

    > python setup.py install  --3D --prefix=/some/installation/directory



    Given that this is a distutils-based project, you should probably be

    using the python portgroup.



    <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>



    At the very least, some of its settings will be useful to you, such as

    the default value set for destroot.destdir:



    <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>



    - Josh





Thanks.  I didn't even know to look for a python portgroup.  I'm still learning...



-- Steve




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180622/c2b08c77/attachment.html>


More information about the macports-users mailing list