@late()
def tools():
import os
executables = []
sitepath = os.path.join(this.root, "Lib", "site-packages", this.name)
if os.path.exists(sitepath):
executables.extend(os.listdir(sitepath))
binpath = os.path.join(this.root, "Scripts")
if os.path.exists(binpath):
executables.extend(os.listdir(binpath))
return executables
Last active
April 12, 2022 13:26
-
-
Save Jawabiscuit/113fdefb4a972eee51507cfd4af16336 to your computer and use it in GitHub Desktop.
Recipe snippets of rez package.py files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment