We have been localizing rez packages on macs, but have been running into problems where the cleanup of the older packages leaves a empty (or partially empty) version directory, which causes the following error:
C:\Users\richs128\rez\packages\wdi_desktop>rez-env wdi_desktop
rez: PackageDefinitionFileMissing: Missing package definition file: FileSystemPackageResource({'version': '0.2.0', 'repository_type': 'filesystem', 'location': 'C:\\Users\\richs128\\rez\\packages', 'name': 'wdi_desktop'})
I suspect that an application is using that package when I'm uninstalling it and using a newer one (which clearly is not great) and possibly doing a file-lock on some of the files, but typically for python code not typically a problem if all the modules are loaded.
Is it possible for it to ignore directories that don't have the package.py file, rather than throw an error?
Sam.