Hi All,
I have a query about Python, default versions, and ports being able to run against 2.7 and 3.6.
I have a fresh install of 11.1-RELEASE-p1 of which I am tracking ports/head.
My questions are:
1. What is the default version python used?
I think it is 2.7...
2. How can port dependancies be compliled for both 2.7 and 3.6?
Example: py-sortedcontainers is installed for both 2.7 and 3.6
3. How does a port that uses 3.6 know to check for 3.6 dependancies and not rely on 2.7 dependancies as 2.7 is default?
4. I presume you need to update ports for 2.7 and then for 3.6; what mechanisms / methods do people use for updates to both when a port version gets bumped?
5. Is there a way in a port to specify 3.6 is mandated and will check for 3.6 dependancies rather than 2.7?
Your wisdom would be most welcomed.
Kind regards,
James.
I have a query about Python, default versions, and ports being able to run against 2.7 and 3.6.
I have a fresh install of 11.1-RELEASE-p1 of which I am tracking ports/head.
My questions are:
1. What is the default version python used?
I think it is 2.7...
2. How can port dependancies be compliled for both 2.7 and 3.6?
Example: py-sortedcontainers is installed for both 2.7 and 3.6
3. How does a port that uses 3.6 know to check for 3.6 dependancies and not rely on 2.7 dependancies as 2.7 is default?
4. I presume you need to update ports for 2.7 and then for 3.6; what mechanisms / methods do people use for updates to both when a port version gets bumped?
5. Is there a way in a port to specify 3.6 is mandated and will check for 3.6 dependancies rather than 2.7?
Your wisdom would be most welcomed.
Kind regards,
James.