Skip to content

Python package variants for different operating systems #1330

Answered by instinct-vfx
hughetop asked this question in Q&A
Discussion options

You must be logged in to vote

Disclaimer: Windows shop here, so rez experience on windows is by FAR my better side. So take with a pinch of salt for other platforms.

Multi-platform packages are typically handled with variants. See the Docs on Variants here: https://github.com/AcademySoftwareFoundation/rez/wiki/Variants

You would still be making the same distinction and it would be in package.py but rez would know about variants being present and also reflect that in resolves rather than magically handle it in the package using sys.

Sepcifically for python I am a strong proponent of having full python rez packages rather then packages that just wrap around local installations. It fails very easily (e.g. when the local …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hughetop
Comment options

@hughetop
Comment options

@instinct-vfx
Comment options

@hughetop
Comment options

Answer selected by hughetop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants