forked from dreamworksanimation/render_profile_viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.py
44 lines (34 loc) · 1.22 KB
/
package.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2023 DreamWorks Animation LLC
# SPDX-License-Identifier: Apache-2.0
uuid = "73528efd-c17e-40b7-aaf0-6b4e31358c55"
name = "render_profile_viewer" # This must match the value in setup.cfg.
requires_rez_version = "2"
help = "http://readthedocs/docs/render_profile_viewer/en/stable"
authors = [
]
# Supply arguments to the "python setup.py" call rez-build will make.
# These are appended after "python setup.py build [install]"
# Add --no-build-sphinx to disable the automatic building of docs.
rez_build_args = {
'python-3.7': ['--no-build-sphinx'],
}
def preprocess(this, data):
from rez.package_py_utils import InvalidPackageError
try:
import rezbuild.earlybind
except ImportError:
raise InvalidPackageError("The package cannot be configured because "
"rezbuild.earlybind cannot be imported.")
rezbuild.earlybind.configure_package(this, data)
data["requires"].extend([
])
@late()
def test_arguments():
import os
return os.getenv("REZ_TEST_ARGUMENTS", "")
def commands():
env.PYTHONPATH.append("{root}")
env.PATH.append("{root}/bin")
with scope("config") as config:
config.package_filter = []