env python - port select or reinplace

Ryan Schmidt ryandesign at macports.org
Fri Apr 28 01:19:54 UTC 2017


> On Apr 27, 2017, at 13:28, db <iamsudo at gmail.com> wrote:
> 
> On 27 Apr 2017, at 19:11, Joshua Root <jmr at macports.org> wrote:
>> If you have a dependency on a pythonXY port you need to make the scripts use that particular version.
> 
> I have #! /usr/bin/env python3 in the scripts, no particular version.

You must make it be a particular version -- the particular version that the port declares a dependency on.

> But even if I had one, and it run on any (recent) version, what should I use then?

Use the latest stable version of python. Or offer variants so the user can choose, and default to the latest stable version.



More information about the macports-dev mailing list