Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rez.system is_production_rez_install to handle forward slash paths under windows. #1899

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michalfratczak
Copy link

This allows to import rez module from paths with forward slashes. The following code printed "False" before the fix:

import sys
sys.path.append('C:/rez_test/Lib/site-packages')
from rez.system import system
print( 'is_production_rez_install', system.is_production_rez_install )

…lash paths under windows.

This allows to import rez module from paths with forward slashes. The following code printed "False" before the fix:

import sys
sys.path.append('C:/rez_test/Lib/site-packages')
from rez.system import system
print( 'is_production_rez_install', system.is_production_rez_install )
@michalfratczak michalfratczak requested a review from a team as a code owner December 23, 2024 16:21
Copy link

linux-foundation-easycla bot commented Dec 23, 2024

CLA Signed

  • ✅login: michalfratczak / (75f685c)

The committers listed above are authorized under a signed CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant