From 1674016274ae319fc31a9b020fcc89839d772598 Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Fri, 18 Dec 2020 17:37:31 -0800 Subject: [PATCH 1/2] remove unused shebang.py script --- plugin/pxr/cmake/macros/shebang.py | 41 ------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 plugin/pxr/cmake/macros/shebang.py diff --git a/plugin/pxr/cmake/macros/shebang.py b/plugin/pxr/cmake/macros/shebang.py deleted file mode 100644 index 8281578399..0000000000 --- a/plugin/pxr/cmake/macros/shebang.py +++ /dev/null @@ -1,41 +0,0 @@ -# -# Copyright 2017 Pixar -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# Usage: -# shebang shebang-str source.py dest.py -# shebang file output.cmd -# -# The former substitutes '/pxrpythonsubst' in with -# and writes the result to . The latter generates a file named -# with the contents '@python "%~dp0"'; this is a -# Windows command script to execute "python " where is in -# the same directory as the command script. - -import sys - -if len(sys.argv) < 3 or len(sys.argv) > 4: - print "Usage: %s {shebang-str source.py dest|file output.cmd}" % sys.argv[0] - sys.exit(1) - -if len(sys.argv) == 3: - with open(sys.argv[2], 'w') as f: - print >>f, '@python "%%~dp0%s" %%*' % (sys.argv[1], ) - -else: - with open(sys.argv[2], 'r') as s: - with open(sys.argv[3], 'w') as d: - for line in s: - d.write(line.replace('/pxrpythonsubst', sys.argv[1])) From 98887550ef27d3dd1564c96503a5e2ec08b82402 Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Mon, 21 Dec 2020 16:19:41 -0800 Subject: [PATCH 2/2] replace #!/pxrpythonsubst with #!/usr/bin/env mayapy Now that the shebang.py script is gone, there's no clue as to the meaning pxrpythonsubst. The project never makes use of the shebang line anyway, since we support windows, so we always explcitly call mayapy with the script as an arg... so we could eliminate it altogether. But by leaving it as mayapy, it may at least be occasionally useful for testers running things manually... and at least documents that it should be run with mayapy. --- plugin/al/tutorials/endToEndMaya/scripts/create_asset.py | 2 +- plugin/al/tutorials/endToEndMaya/scripts/create_shot.py | 2 +- .../tutorials/endToEndMaya/tutorial_scripts/add_set_to_s00.py | 2 +- .../endToEndMaya/tutorial_scripts/add_shadingVariants.py | 2 +- .../tutorials/endToEndMaya/tutorial_scripts/create_Room_set.py | 2 +- .../endToEndMaya/tutorial_scripts/prep_anim_shot_s00_01.py | 2 +- .../pxrUsdMayaGL/testenv/testBatchRendererIsolateSelection.py | 2 +- .../lib/pxrUsdMayaGL/testenv/testPxrUsdMayaGLInstancerDraw.py | 2 +- .../pxrUsdMayaGL/testenv/testRefAssemblyDrawRepresentations.py | 2 +- plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssembly.py | 2 +- .../pxr/maya/lib/usdMaya/testenv/testUsdExportAssemblyEdits.py | 2 +- plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPackage.py | 2 +- .../pxr/maya/lib/usdMaya/testenv/testUsdExportPointInstancer.py | 2 +- .../pxr/maya/lib/usdMaya/testenv/testUsdImportAsAssemblies.py | 2 +- .../lib/usdMaya/testenv/testUsdImportNestedAssemblyAnimation.py | 2 +- .../usdMaya/testenv/testUsdMayaBlockSceneModificationContext.py | 2 +- .../maya/lib/usdMaya/testenv/testUsdMayaDiagnosticDelegate.py | 2 +- .../lib/usdMaya/testenv/testUsdMayaGetVariantSetSelections.py | 2 +- .../maya/lib/usdMaya/testenv/testUsdMayaModelKindProcessor.py | 2 +- plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaProxyShape.py | 2 +- .../pxr/maya/lib/usdMaya/testenv/testUsdMayaReadWriteUtils.py | 2 +- .../lib/usdMaya/testenv/testUsdMayaReferenceAssemblyEdits.py | 2 +- .../lib/usdMaya/testenv/testUsdMayaUserExportedAttributes.py | 2 +- plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaXformStack.py | 2 +- .../testenv/testUsdReferenceAssemblyChangeRepresentations.py | 2 +- .../lib/usdMaya/testenv/testUsdReferenceAssemblySelection.py | 2 +- .../pxr/maya/plugin/pxrUsd/testenv/testPxrUsdAlembicChaser.py | 2 +- test/lib/mayaUsd/nodes/testPointBasedDeformerNode.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeDrawAndTransform.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeDrawColorAccuracy.py | 2 +- .../lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColors.py | 2 +- .../mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawLighting.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeDrawPerformance.py | 2 +- .../mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPurpose.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeDrawTimeSampled.py | 2 +- .../pxrUsdMayaGL/testProxyShapeDrawUsdChangeProcessing.py | 2 +- .../mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawVisibility.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeDuplicatePerformance.py | 2 +- .../mayaUsd/render/pxrUsdMayaGL/testProxyShapeLiveSurface.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeRendererSceneMessages.py | 2 +- .../render/pxrUsdMayaGL/testProxyShapeSelectionPerformance.py | 2 +- test/lib/mayaUsd/render/pxrUsdMayaGL/testPxrUsdMayaGL.py | 2 +- .../usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceDraw.py | 2 +- .../usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceExport.py | 2 +- test/lib/usd/translators/testUsdExportAsClip.py | 2 +- test/lib/usd/translators/testUsdExportCamera.py | 2 +- test/lib/usd/translators/testUsdExportColorSets.py | 2 +- test/lib/usd/translators/testUsdExportConnected.py | 2 +- test/lib/usd/translators/testUsdExportCustomConverter.py | 2 +- test/lib/usd/translators/testUsdExportDisplacement.py | 2 +- test/lib/usd/translators/testUsdExportDisplayColor.py | 2 +- test/lib/usd/translators/testUsdExportEulerFilter.py | 2 +- test/lib/usd/translators/testUsdExportFileFormat.py | 2 +- test/lib/usd/translators/testUsdExportFilterTypes.py | 2 +- test/lib/usd/translators/testUsdExportFrameOffset.py | 2 +- test/lib/usd/translators/testUsdExportGeomSubset.py | 2 +- .../translators/testUsdExportImportRoundtripPreviewSurface.py | 2 +- test/lib/usd/translators/testUsdExportImportUDIM.py | 2 +- test/lib/usd/translators/testUsdExportInstances.py | 2 +- test/lib/usd/translators/testUsdExportLayerAttributes.py | 2 +- test/lib/usd/translators/testUsdExportLocator.py | 2 +- test/lib/usd/translators/testUsdExportMayaInstancer.py | 2 +- test/lib/usd/translators/testUsdExportMesh.py | 2 +- test/lib/usd/translators/testUsdExportNurbsCurve.py | 2 +- test/lib/usd/translators/testUsdExportOpenLayer.py | 2 +- test/lib/usd/translators/testUsdExportOverImport.py | 2 +- test/lib/usd/translators/testUsdExportParentScope.py | 2 +- test/lib/usd/translators/testUsdExportParticles.py | 2 +- test/lib/usd/translators/testUsdExportPref.py | 2 +- test/lib/usd/translators/testUsdExportRenderLayerMode.py | 2 +- test/lib/usd/translators/testUsdExportRfMLight.py | 2 +- test/lib/usd/translators/testUsdExportRfMShaders.py | 2 +- test/lib/usd/translators/testUsdExportSelection.py | 2 +- test/lib/usd/translators/testUsdExportSelectionHierarchy.py | 2 +- test/lib/usd/translators/testUsdExportShadingInstanced.py | 2 +- test/lib/usd/translators/testUsdExportShadingModePxrRis.py | 2 +- test/lib/usd/translators/testUsdExportSkeleton.py | 2 +- test/lib/usd/translators/testUsdExportStripNamespaces.py | 2 +- test/lib/usd/translators/testUsdExportStroke.py | 2 +- test/lib/usd/translators/testUsdExportUVSetMappings.py | 2 +- test/lib/usd/translators/testUsdExportUVSets.py | 2 +- test/lib/usd/translators/testUsdExportUVTransforms.py | 2 +- test/lib/usd/translators/testUsdExportVisibilityDefault.py | 2 +- test/lib/usd/translators/testUsdImportCamera.py | 2 +- test/lib/usd/translators/testUsdImportColorSets.py | 2 +- test/lib/usd/translators/testUsdImportCustomConverter.py | 2 +- test/lib/usd/translators/testUsdImportDisplacement.py | 2 +- test/lib/usd/translators/testUsdImportExportScope.py | 2 +- test/lib/usd/translators/testUsdImportExportTypelessDefs.py | 2 +- test/lib/usd/translators/testUsdImportFrameRange.py | 2 +- test/lib/usd/translators/testUsdImportInstances.py | 2 +- test/lib/usd/translators/testUsdImportMayaReference.py | 2 +- test/lib/usd/translators/testUsdImportMesh.py | 2 +- test/lib/usd/translators/testUsdImportPreviewSurface.py | 2 +- test/lib/usd/translators/testUsdImportRfMLight.py | 2 +- test/lib/usd/translators/testUsdImportRfMShaders.py | 2 +- test/lib/usd/translators/testUsdImportSessionLayer.py | 2 +- .../lib/usd/translators/testUsdImportShadingModeDisplayColor.py | 2 +- test/lib/usd/translators/testUsdImportShadingModePxrRis.py | 2 +- test/lib/usd/translators/testUsdImportSkeleton.py | 2 +- test/lib/usd/translators/testUsdImportUVSetMappings.py | 2 +- test/lib/usd/translators/testUsdImportUVSets.py | 2 +- test/lib/usd/translators/testUsdImportXforms.py | 2 +- test/lib/usd/translators/testUsdMayaAdaptor.py | 2 +- test/lib/usd/translators/testUsdMayaAdaptorGeom.py | 2 +- test/lib/usd/translators/testUsdMayaAdaptorMetadata.py | 2 +- test/lib/usd/translators/testUsdMayaAdaptorUndoRedo.py | 2 +- test/lib/usd/translators/testUsdMayaListShadingModesCommand.py | 2 +- 108 files changed, 108 insertions(+), 108 deletions(-) diff --git a/plugin/al/tutorials/endToEndMaya/scripts/create_asset.py b/plugin/al/tutorials/endToEndMaya/scripts/create_asset.py index 8b9399ff88..dd1f5b069c 100644 --- a/plugin/al/tutorials/endToEndMaya/scripts/create_asset.py +++ b/plugin/al/tutorials/endToEndMaya/scripts/create_asset.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/al/tutorials/endToEndMaya/scripts/create_shot.py b/plugin/al/tutorials/endToEndMaya/scripts/create_shot.py index 5c43ea15f9..48c3254015 100644 --- a/plugin/al/tutorials/endToEndMaya/scripts/create_shot.py +++ b/plugin/al/tutorials/endToEndMaya/scripts/create_shot.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_set_to_s00.py b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_set_to_s00.py index 4703808ca6..feb7f9a441 100644 --- a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_set_to_s00.py +++ b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_set_to_s00.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_shadingVariants.py b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_shadingVariants.py index 979f21c739..8958ef60f7 100644 --- a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_shadingVariants.py +++ b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/add_shadingVariants.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/create_Room_set.py b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/create_Room_set.py index 4e16e68171..7290cb2e1e 100644 --- a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/create_Room_set.py +++ b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/create_Room_set.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/prep_anim_shot_s00_01.py b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/prep_anim_shot_s00_01.py index 2163ae48e4..115003e1e6 100644 --- a/plugin/al/tutorials/endToEndMaya/tutorial_scripts/prep_anim_shot_s00_01.py +++ b/plugin/al/tutorials/endToEndMaya/tutorial_scripts/prep_anim_shot_s00_01.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testBatchRendererIsolateSelection.py b/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testBatchRendererIsolateSelection.py index 8f5c65060d..bd2c614cad 100644 --- a/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testBatchRendererIsolateSelection.py +++ b/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testBatchRendererIsolateSelection.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testPxrUsdMayaGLInstancerDraw.py b/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testPxrUsdMayaGLInstancerDraw.py index 555b3d9124..21be182851 100644 --- a/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testPxrUsdMayaGLInstancerDraw.py +++ b/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testPxrUsdMayaGLInstancerDraw.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testRefAssemblyDrawRepresentations.py b/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testRefAssemblyDrawRepresentations.py index c3ecb4dfb0..fd5754468b 100644 --- a/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testRefAssemblyDrawRepresentations.py +++ b/plugin/pxr/maya/lib/pxrUsdMayaGL/testenv/testRefAssemblyDrawRepresentations.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssembly.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssembly.py index 59253ba18d..8e5f250955 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssembly.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssembly.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssemblyEdits.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssemblyEdits.py index c4d730f9e9..81dc092f57 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssemblyEdits.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportAssemblyEdits.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2019 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPackage.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPackage.py index c17d501b1d..64f88f0ed2 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPackage.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPackage.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPointInstancer.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPointInstancer.py index fb244315b6..33a4183783 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPointInstancer.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdExportPointInstancer.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportAsAssemblies.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportAsAssemblies.py index 816ca36258..d4ca432a37 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportAsAssemblies.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportAsAssemblies.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportNestedAssemblyAnimation.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportNestedAssemblyAnimation.py index 734a037168..bb74116d6e 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportNestedAssemblyAnimation.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdImportNestedAssemblyAnimation.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaBlockSceneModificationContext.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaBlockSceneModificationContext.py index e0134da3b5..009d48e45f 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaBlockSceneModificationContext.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaBlockSceneModificationContext.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaDiagnosticDelegate.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaDiagnosticDelegate.py index ba201af319..7a8840e8d6 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaDiagnosticDelegate.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaDiagnosticDelegate.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaGetVariantSetSelections.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaGetVariantSetSelections.py index f587551bee..b0e785387b 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaGetVariantSetSelections.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaGetVariantSetSelections.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaModelKindProcessor.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaModelKindProcessor.py index 9590b48fb0..f24963dfa8 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaModelKindProcessor.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaModelKindProcessor.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaProxyShape.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaProxyShape.py index 361a95be29..dca8c51bdb 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaProxyShape.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaProxyShape.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReadWriteUtils.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReadWriteUtils.py index c960c22321..4f2c78f75c 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReadWriteUtils.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReadWriteUtils.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReferenceAssemblyEdits.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReferenceAssemblyEdits.py index b989d0ce7c..d783dc28a6 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReferenceAssemblyEdits.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaReferenceAssemblyEdits.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaUserExportedAttributes.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaUserExportedAttributes.py index f4698ceefc..80198d07a3 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaUserExportedAttributes.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaUserExportedAttributes.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaXformStack.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaXformStack.py index fd4ce286b8..f26180f859 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaXformStack.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdMayaXformStack.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblyChangeRepresentations.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblyChangeRepresentations.py index 315b183407..561c3ea7dc 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblyChangeRepresentations.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblyChangeRepresentations.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblySelection.py b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblySelection.py index f9bfbfbdf5..19108e10cf 100644 --- a/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblySelection.py +++ b/plugin/pxr/maya/lib/usdMaya/testenv/testUsdReferenceAssemblySelection.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/plugin/pxr/maya/plugin/pxrUsd/testenv/testPxrUsdAlembicChaser.py b/plugin/pxr/maya/plugin/pxrUsd/testenv/testPxrUsdAlembicChaser.py index a8f91fe734..1b5a3d706f 100644 --- a/plugin/pxr/maya/plugin/pxrUsd/testenv/testPxrUsdAlembicChaser.py +++ b/plugin/pxr/maya/plugin/pxrUsd/testenv/testPxrUsdAlembicChaser.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/mayaUsd/nodes/testPointBasedDeformerNode.py b/test/lib/mayaUsd/nodes/testPointBasedDeformerNode.py index 1aba2323ff..a0a86bb7eb 100644 --- a/test/lib/mayaUsd/nodes/testPointBasedDeformerNode.py +++ b/test/lib/mayaUsd/nodes/testPointBasedDeformerNode.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawAndTransform.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawAndTransform.py index 1974da15c9..f6b3675452 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawAndTransform.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawAndTransform.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColorAccuracy.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColorAccuracy.py index e92e8cd734..6d91a67a28 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColorAccuracy.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColorAccuracy.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColors.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColors.py index 49f7e3fd75..e3021df4dd 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColors.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawColors.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawLighting.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawLighting.py index 455d5f9478..da2e5e73fe 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawLighting.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawLighting.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPerformance.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPerformance.py index da8973a2fb..63fa444e94 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPerformance.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPerformance.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPurpose.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPurpose.py index ae85b7d201..64b217da63 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPurpose.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawPurpose.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawTimeSampled.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawTimeSampled.py index 89ba995c37..9d84b5c715 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawTimeSampled.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawTimeSampled.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawUsdChangeProcessing.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawUsdChangeProcessing.py index 8bd5ec4b03..e9f2087058 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawUsdChangeProcessing.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawUsdChangeProcessing.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawVisibility.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawVisibility.py index 08824c4661..caa1e40773 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawVisibility.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDrawVisibility.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDuplicatePerformance.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDuplicatePerformance.py index aeb71fa9b8..c41fff4027 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDuplicatePerformance.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeDuplicatePerformance.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeLiveSurface.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeLiveSurface.py index 98d53ad7a8..408a19a49c 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeLiveSurface.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeLiveSurface.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeRendererSceneMessages.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeRendererSceneMessages.py index 85ccbfdad1..497991763e 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeRendererSceneMessages.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeRendererSceneMessages.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeSelectionPerformance.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeSelectionPerformance.py index e729091554..f552a8dcee 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeSelectionPerformance.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testProxyShapeSelectionPerformance.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/mayaUsd/render/pxrUsdMayaGL/testPxrUsdMayaGL.py b/test/lib/mayaUsd/render/pxrUsdMayaGL/testPxrUsdMayaGL.py index 98e4ad454b..e55409e1c9 100644 --- a/test/lib/mayaUsd/render/pxrUsdMayaGL/testPxrUsdMayaGL.py +++ b/test/lib/mayaUsd/render/pxrUsdMayaGL/testPxrUsdMayaGL.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceDraw.py b/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceDraw.py index 8fa4c53254..2b6c0e591e 100644 --- a/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceDraw.py +++ b/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceDraw.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceExport.py b/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceExport.py index b0e2f23034..fc90857734 100644 --- a/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceExport.py +++ b/test/lib/usd/pxrUsdPreviewSurface/testPxrUsdPreviewSurfaceExport.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportAsClip.py b/test/lib/usd/translators/testUsdExportAsClip.py index 49c7f07dca..529b4d7ff5 100644 --- a/test/lib/usd/translators/testUsdExportAsClip.py +++ b/test/lib/usd/translators/testUsdExportAsClip.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportCamera.py b/test/lib/usd/translators/testUsdExportCamera.py index 9775600e6c..eb4c874301 100644 --- a/test/lib/usd/translators/testUsdExportCamera.py +++ b/test/lib/usd/translators/testUsdExportCamera.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportColorSets.py b/test/lib/usd/translators/testUsdExportColorSets.py index 5485a3939f..45a10ecfe6 100644 --- a/test/lib/usd/translators/testUsdExportColorSets.py +++ b/test/lib/usd/translators/testUsdExportColorSets.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportConnected.py b/test/lib/usd/translators/testUsdExportConnected.py index 35955ab45d..56a1e2e2aa 100644 --- a/test/lib/usd/translators/testUsdExportConnected.py +++ b/test/lib/usd/translators/testUsdExportConnected.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportCustomConverter.py b/test/lib/usd/translators/testUsdExportCustomConverter.py index 77ff1f6f64..9f5726ac29 100644 --- a/test/lib/usd/translators/testUsdExportCustomConverter.py +++ b/test/lib/usd/translators/testUsdExportCustomConverter.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdExportDisplacement.py b/test/lib/usd/translators/testUsdExportDisplacement.py index 45698f1deb..f4b0314def 100644 --- a/test/lib/usd/translators/testUsdExportDisplacement.py +++ b/test/lib/usd/translators/testUsdExportDisplacement.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/usd/translators/testUsdExportDisplayColor.py b/test/lib/usd/translators/testUsdExportDisplayColor.py index a7a7b9f225..6c6a6b7bad 100644 --- a/test/lib/usd/translators/testUsdExportDisplayColor.py +++ b/test/lib/usd/translators/testUsdExportDisplayColor.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportEulerFilter.py b/test/lib/usd/translators/testUsdExportEulerFilter.py index 75e557c650..4a6f9c77b9 100644 --- a/test/lib/usd/translators/testUsdExportEulerFilter.py +++ b/test/lib/usd/translators/testUsdExportEulerFilter.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportFileFormat.py b/test/lib/usd/translators/testUsdExportFileFormat.py index 55e7e103b0..9be4dac5b2 100644 --- a/test/lib/usd/translators/testUsdExportFileFormat.py +++ b/test/lib/usd/translators/testUsdExportFileFormat.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdExportFilterTypes.py b/test/lib/usd/translators/testUsdExportFilterTypes.py index 46b3612a91..414093a9d2 100644 --- a/test/lib/usd/translators/testUsdExportFilterTypes.py +++ b/test/lib/usd/translators/testUsdExportFilterTypes.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportFrameOffset.py b/test/lib/usd/translators/testUsdExportFrameOffset.py index 4883e60622..d780fda9bd 100644 --- a/test/lib/usd/translators/testUsdExportFrameOffset.py +++ b/test/lib/usd/translators/testUsdExportFrameOffset.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportGeomSubset.py b/test/lib/usd/translators/testUsdExportGeomSubset.py index c54dece020..b4fa48906f 100644 --- a/test/lib/usd/translators/testUsdExportGeomSubset.py +++ b/test/lib/usd/translators/testUsdExportGeomSubset.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportImportRoundtripPreviewSurface.py b/test/lib/usd/translators/testUsdExportImportRoundtripPreviewSurface.py index 3a9bb18314..9e99915d12 100644 --- a/test/lib/usd/translators/testUsdExportImportRoundtripPreviewSurface.py +++ b/test/lib/usd/translators/testUsdExportImportRoundtripPreviewSurface.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdExportImportUDIM.py b/test/lib/usd/translators/testUsdExportImportUDIM.py index e79df3bf64..1ff8d59989 100644 --- a/test/lib/usd/translators/testUsdExportImportUDIM.py +++ b/test/lib/usd/translators/testUsdExportImportUDIM.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/usd/translators/testUsdExportInstances.py b/test/lib/usd/translators/testUsdExportInstances.py index 6c2bc2e3df..764d91f1ce 100644 --- a/test/lib/usd/translators/testUsdExportInstances.py +++ b/test/lib/usd/translators/testUsdExportInstances.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdExportLayerAttributes.py b/test/lib/usd/translators/testUsdExportLayerAttributes.py index 7b72473d1c..0338234732 100644 --- a/test/lib/usd/translators/testUsdExportLayerAttributes.py +++ b/test/lib/usd/translators/testUsdExportLayerAttributes.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # diff --git a/test/lib/usd/translators/testUsdExportLocator.py b/test/lib/usd/translators/testUsdExportLocator.py index 009e2568c2..0d3c3da2cc 100644 --- a/test/lib/usd/translators/testUsdExportLocator.py +++ b/test/lib/usd/translators/testUsdExportLocator.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportMayaInstancer.py b/test/lib/usd/translators/testUsdExportMayaInstancer.py index 4c77cdc9e6..b954afcf60 100644 --- a/test/lib/usd/translators/testUsdExportMayaInstancer.py +++ b/test/lib/usd/translators/testUsdExportMayaInstancer.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2019 Autodesk # diff --git a/test/lib/usd/translators/testUsdExportMesh.py b/test/lib/usd/translators/testUsdExportMesh.py index a23ac97c10..0f34a87415 100644 --- a/test/lib/usd/translators/testUsdExportMesh.py +++ b/test/lib/usd/translators/testUsdExportMesh.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportNurbsCurve.py b/test/lib/usd/translators/testUsdExportNurbsCurve.py index 6890b6154f..faff5e4217 100644 --- a/test/lib/usd/translators/testUsdExportNurbsCurve.py +++ b/test/lib/usd/translators/testUsdExportNurbsCurve.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportOpenLayer.py b/test/lib/usd/translators/testUsdExportOpenLayer.py index 4d7ff53684..6bdb54d0b4 100644 --- a/test/lib/usd/translators/testUsdExportOpenLayer.py +++ b/test/lib/usd/translators/testUsdExportOpenLayer.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportOverImport.py b/test/lib/usd/translators/testUsdExportOverImport.py index 3aa70725bb..eb4c125070 100644 --- a/test/lib/usd/translators/testUsdExportOverImport.py +++ b/test/lib/usd/translators/testUsdExportOverImport.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdExportParentScope.py b/test/lib/usd/translators/testUsdExportParentScope.py index 353205eeb8..ede20e709b 100644 --- a/test/lib/usd/translators/testUsdExportParentScope.py +++ b/test/lib/usd/translators/testUsdExportParentScope.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportParticles.py b/test/lib/usd/translators/testUsdExportParticles.py index 128260b209..b6233b647d 100644 --- a/test/lib/usd/translators/testUsdExportParticles.py +++ b/test/lib/usd/translators/testUsdExportParticles.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportPref.py b/test/lib/usd/translators/testUsdExportPref.py index 7d6324c050..b25b0b5e1a 100644 --- a/test/lib/usd/translators/testUsdExportPref.py +++ b/test/lib/usd/translators/testUsdExportPref.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportRenderLayerMode.py b/test/lib/usd/translators/testUsdExportRenderLayerMode.py index 11fb8f04e7..837bbefe58 100644 --- a/test/lib/usd/translators/testUsdExportRenderLayerMode.py +++ b/test/lib/usd/translators/testUsdExportRenderLayerMode.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportRfMLight.py b/test/lib/usd/translators/testUsdExportRfMLight.py index e60de03068..325767c184 100644 --- a/test/lib/usd/translators/testUsdExportRfMLight.py +++ b/test/lib/usd/translators/testUsdExportRfMLight.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdExportRfMShaders.py b/test/lib/usd/translators/testUsdExportRfMShaders.py index bda8ae42f8..be4eda8dfb 100644 --- a/test/lib/usd/translators/testUsdExportRfMShaders.py +++ b/test/lib/usd/translators/testUsdExportRfMShaders.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/usd/translators/testUsdExportSelection.py b/test/lib/usd/translators/testUsdExportSelection.py index 68ec20b113..192c019d95 100644 --- a/test/lib/usd/translators/testUsdExportSelection.py +++ b/test/lib/usd/translators/testUsdExportSelection.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportSelectionHierarchy.py b/test/lib/usd/translators/testUsdExportSelectionHierarchy.py index 752a86ba5d..200c5597de 100644 --- a/test/lib/usd/translators/testUsdExportSelectionHierarchy.py +++ b/test/lib/usd/translators/testUsdExportSelectionHierarchy.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdExportShadingInstanced.py b/test/lib/usd/translators/testUsdExportShadingInstanced.py index 5a09cc6e0c..a1b292632f 100644 --- a/test/lib/usd/translators/testUsdExportShadingInstanced.py +++ b/test/lib/usd/translators/testUsdExportShadingInstanced.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportShadingModePxrRis.py b/test/lib/usd/translators/testUsdExportShadingModePxrRis.py index 6c60c7eb5d..69bab80f2d 100644 --- a/test/lib/usd/translators/testUsdExportShadingModePxrRis.py +++ b/test/lib/usd/translators/testUsdExportShadingModePxrRis.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdExportSkeleton.py b/test/lib/usd/translators/testUsdExportSkeleton.py index 86a3ca15b0..f0ac6b0517 100644 --- a/test/lib/usd/translators/testUsdExportSkeleton.py +++ b/test/lib/usd/translators/testUsdExportSkeleton.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdExportStripNamespaces.py b/test/lib/usd/translators/testUsdExportStripNamespaces.py index 43b75c143a..5846df7888 100644 --- a/test/lib/usd/translators/testUsdExportStripNamespaces.py +++ b/test/lib/usd/translators/testUsdExportStripNamespaces.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportStroke.py b/test/lib/usd/translators/testUsdExportStroke.py index f4ffcb825e..ce9fd8f72f 100644 --- a/test/lib/usd/translators/testUsdExportStroke.py +++ b/test/lib/usd/translators/testUsdExportStroke.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2019 Pixar # diff --git a/test/lib/usd/translators/testUsdExportUVSetMappings.py b/test/lib/usd/translators/testUsdExportUVSetMappings.py index fa30c4147c..b8755a2023 100644 --- a/test/lib/usd/translators/testUsdExportUVSetMappings.py +++ b/test/lib/usd/translators/testUsdExportUVSetMappings.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdExportUVSets.py b/test/lib/usd/translators/testUsdExportUVSets.py index 0d2380c230..d8b0ac4164 100644 --- a/test/lib/usd/translators/testUsdExportUVSets.py +++ b/test/lib/usd/translators/testUsdExportUVSets.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdExportUVTransforms.py b/test/lib/usd/translators/testUsdExportUVTransforms.py index 9f75d151a7..42f4a8163d 100644 --- a/test/lib/usd/translators/testUsdExportUVTransforms.py +++ b/test/lib/usd/translators/testUsdExportUVTransforms.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Apple Inc. All rights reserved. # diff --git a/test/lib/usd/translators/testUsdExportVisibilityDefault.py b/test/lib/usd/translators/testUsdExportVisibilityDefault.py index f3b1b45bcd..288ad710be 100644 --- a/test/lib/usd/translators/testUsdExportVisibilityDefault.py +++ b/test/lib/usd/translators/testUsdExportVisibilityDefault.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdImportCamera.py b/test/lib/usd/translators/testUsdImportCamera.py index 5eb02ccf58..2f2fc8ac1f 100644 --- a/test/lib/usd/translators/testUsdImportCamera.py +++ b/test/lib/usd/translators/testUsdImportCamera.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdImportColorSets.py b/test/lib/usd/translators/testUsdImportColorSets.py index 04413769ed..a81a052366 100644 --- a/test/lib/usd/translators/testUsdImportColorSets.py +++ b/test/lib/usd/translators/testUsdImportColorSets.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdImportCustomConverter.py b/test/lib/usd/translators/testUsdImportCustomConverter.py index 8d00e008fe..ab6cd047ef 100644 --- a/test/lib/usd/translators/testUsdImportCustomConverter.py +++ b/test/lib/usd/translators/testUsdImportCustomConverter.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdImportDisplacement.py b/test/lib/usd/translators/testUsdImportDisplacement.py index c5f499d151..bc60f19163 100644 --- a/test/lib/usd/translators/testUsdImportDisplacement.py +++ b/test/lib/usd/translators/testUsdImportDisplacement.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdImportExportScope.py b/test/lib/usd/translators/testUsdImportExportScope.py index 92020be5d2..ea6406ea92 100644 --- a/test/lib/usd/translators/testUsdImportExportScope.py +++ b/test/lib/usd/translators/testUsdImportExportScope.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdImportExportTypelessDefs.py b/test/lib/usd/translators/testUsdImportExportTypelessDefs.py index 5b0d964ba0..26d2b1cc76 100644 --- a/test/lib/usd/translators/testUsdImportExportTypelessDefs.py +++ b/test/lib/usd/translators/testUsdImportExportTypelessDefs.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdImportFrameRange.py b/test/lib/usd/translators/testUsdImportFrameRange.py index cfec76dca8..364dd84d0d 100644 --- a/test/lib/usd/translators/testUsdImportFrameRange.py +++ b/test/lib/usd/translators/testUsdImportFrameRange.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdImportInstances.py b/test/lib/usd/translators/testUsdImportInstances.py index ed90df0881..fcc5e64e03 100644 --- a/test/lib/usd/translators/testUsdImportInstances.py +++ b/test/lib/usd/translators/testUsdImportInstances.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdImportMayaReference.py b/test/lib/usd/translators/testUsdImportMayaReference.py index 6dfd225806..f0680c1b90 100644 --- a/test/lib/usd/translators/testUsdImportMayaReference.py +++ b/test/lib/usd/translators/testUsdImportMayaReference.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdImportMesh.py b/test/lib/usd/translators/testUsdImportMesh.py index e4435e6ef8..0c233d347b 100644 --- a/test/lib/usd/translators/testUsdImportMesh.py +++ b/test/lib/usd/translators/testUsdImportMesh.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdImportPreviewSurface.py b/test/lib/usd/translators/testUsdImportPreviewSurface.py index 43733c42ee..2731151261 100644 --- a/test/lib/usd/translators/testUsdImportPreviewSurface.py +++ b/test/lib/usd/translators/testUsdImportPreviewSurface.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk # diff --git a/test/lib/usd/translators/testUsdImportRfMLight.py b/test/lib/usd/translators/testUsdImportRfMLight.py index 140620bd6a..41570dec28 100644 --- a/test/lib/usd/translators/testUsdImportRfMLight.py +++ b/test/lib/usd/translators/testUsdImportRfMLight.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdImportRfMShaders.py b/test/lib/usd/translators/testUsdImportRfMShaders.py index 97d1b1de58..1fee24fdd8 100644 --- a/test/lib/usd/translators/testUsdImportRfMShaders.py +++ b/test/lib/usd/translators/testUsdImportRfMShaders.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/usd/translators/testUsdImportSessionLayer.py b/test/lib/usd/translators/testUsdImportSessionLayer.py index e7da61ae4a..952821c494 100644 --- a/test/lib/usd/translators/testUsdImportSessionLayer.py +++ b/test/lib/usd/translators/testUsdImportSessionLayer.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdImportShadingModeDisplayColor.py b/test/lib/usd/translators/testUsdImportShadingModeDisplayColor.py index fea632f1cd..b8e040f8cf 100644 --- a/test/lib/usd/translators/testUsdImportShadingModeDisplayColor.py +++ b/test/lib/usd/translators/testUsdImportShadingModeDisplayColor.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdImportShadingModePxrRis.py b/test/lib/usd/translators/testUsdImportShadingModePxrRis.py index bdc7e959a7..af5321cfdb 100644 --- a/test/lib/usd/translators/testUsdImportShadingModePxrRis.py +++ b/test/lib/usd/translators/testUsdImportShadingModePxrRis.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2017 Pixar # diff --git a/test/lib/usd/translators/testUsdImportSkeleton.py b/test/lib/usd/translators/testUsdImportSkeleton.py index a3d87c4bd4..3a0ff45a12 100644 --- a/test/lib/usd/translators/testUsdImportSkeleton.py +++ b/test/lib/usd/translators/testUsdImportSkeleton.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdImportUVSetMappings.py b/test/lib/usd/translators/testUsdImportUVSetMappings.py index 4f4e2d183c..d2a86e3f5a 100644 --- a/test/lib/usd/translators/testUsdImportUVSetMappings.py +++ b/test/lib/usd/translators/testUsdImportUVSetMappings.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/usd/translators/testUsdImportUVSets.py b/test/lib/usd/translators/testUsdImportUVSets.py index af82d3218a..849e55e3c6 100644 --- a/test/lib/usd/translators/testUsdImportUVSets.py +++ b/test/lib/usd/translators/testUsdImportUVSets.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdImportXforms.py b/test/lib/usd/translators/testUsdImportXforms.py index fbf4a35a09..ee08ee3add 100644 --- a/test/lib/usd/translators/testUsdImportXforms.py +++ b/test/lib/usd/translators/testUsdImportXforms.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdMayaAdaptor.py b/test/lib/usd/translators/testUsdMayaAdaptor.py index bafb31f227..382469a299 100644 --- a/test/lib/usd/translators/testUsdMayaAdaptor.py +++ b/test/lib/usd/translators/testUsdMayaAdaptor.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdMayaAdaptorGeom.py b/test/lib/usd/translators/testUsdMayaAdaptorGeom.py index c0b9592e0b..c98d4e2717 100644 --- a/test/lib/usd/translators/testUsdMayaAdaptorGeom.py +++ b/test/lib/usd/translators/testUsdMayaAdaptorGeom.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2018 Pixar # diff --git a/test/lib/usd/translators/testUsdMayaAdaptorMetadata.py b/test/lib/usd/translators/testUsdMayaAdaptorMetadata.py index 05f38fa450..84f6824c98 100644 --- a/test/lib/usd/translators/testUsdMayaAdaptorMetadata.py +++ b/test/lib/usd/translators/testUsdMayaAdaptorMetadata.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2016 Pixar # diff --git a/test/lib/usd/translators/testUsdMayaAdaptorUndoRedo.py b/test/lib/usd/translators/testUsdMayaAdaptorUndoRedo.py index 30aaa33d50..5e9607cb2b 100644 --- a/test/lib/usd/translators/testUsdMayaAdaptorUndoRedo.py +++ b/test/lib/usd/translators/testUsdMayaAdaptorUndoRedo.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Pixar # diff --git a/test/lib/usd/translators/testUsdMayaListShadingModesCommand.py b/test/lib/usd/translators/testUsdMayaListShadingModesCommand.py index 485c07ed57..4528e314bb 100644 --- a/test/lib/usd/translators/testUsdMayaListShadingModesCommand.py +++ b/test/lib/usd/translators/testUsdMayaListShadingModesCommand.py @@ -1,4 +1,4 @@ -#!/pxrpythonsubst +#!/usr/bin/env mayapy # # Copyright 2020 Autodesk #