unity-devkit 0.1.11__py3-none-any.whl → 0.1.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
unity_devkit/unity.py CHANGED
@@ -165,5 +165,9 @@ def prepare_unity_project(project_path: Path) -> None:
165
165
  if stale_lockfile.exists():
166
166
  stale_lockfile.unlink()
167
167
 
168
- bash("dotnet tool restore")
169
- bash(f"dotnet nugetforunity restore {project_path}")
168
+ # NuGetForUnity restore applies only to NuGet consumers (Assets/packages.config is
169
+ # their manifest); elsewhere it would demand the dotnet SDK + tool manifest and
170
+ # litter Assets/ with NuGet.config/packages.config/Packages.meta scaffolding.
171
+ if (project_path / "Assets" / "packages.config").exists():
172
+ bash("dotnet tool restore")
173
+ bash(f"dotnet nugetforunity restore {project_path}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: unity-devkit
3
- Version: 0.1.11
3
+ Version: 0.1.13
4
4
  Summary: Unity project discovery, build, license, and CI tooling
5
5
  License-File: LICENSE
6
6
  License-File: NOTICE
@@ -9,10 +9,10 @@ unity_devkit/matrix.py,sha256=fveZkT7O2Q9UD9SW4fL59X6dTfk87RswWLuIs9NwKUM,1343
9
9
  unity_devkit/projects.py,sha256=4JJimKo6-GB0EhhVddO-DbbYfNYPKRJfMFbw8_ZgpQY,2577
10
10
  unity_devkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  unity_devkit/test_unity.py,sha256=DaWItN6CqEaPHJRg8fkGTVx9whZt-rLzR1pY9Qhj9DE,1100
12
- unity_devkit/unity.py,sha256=KtWxy9P6E_56DjQcB_84qDx7EpN6ax2o3HIjYtLlOOY,6717
13
- unity_devkit-0.1.11.dist-info/METADATA,sha256=LrSUAwksVfkdnuoS449iJDc-SZXwX-X-V7NDDg2OBlQ,352
14
- unity_devkit-0.1.11.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
15
- unity_devkit-0.1.11.dist-info/entry_points.txt,sha256=RKjFLiz02NSodLcgVDp8pnYX6zEa7VhrH_1GXnnt9d8,381
16
- unity_devkit-0.1.11.dist-info/licenses/LICENSE,sha256=RFhQPdSOiMTguUX7JSoIuTxA7HVzCbj_p8WU36HjUQQ,10947
17
- unity_devkit-0.1.11.dist-info/licenses/NOTICE,sha256=jvglZza3GCdN7v4_TLuXUqX9C_uABlwAKUkcIeKwk_8,26
18
- unity_devkit-0.1.11.dist-info/RECORD,,
12
+ unity_devkit/unity.py,sha256=TDIhW9LVMmBmuJF17QgB3XWjBMHrr2sHp5TAw4Eq-Po,7041
13
+ unity_devkit-0.1.13.dist-info/METADATA,sha256=IA23T3RKoVzwSwMLMw1wgVlgmqweC6A0aOlJd0hU_Us,352
14
+ unity_devkit-0.1.13.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
15
+ unity_devkit-0.1.13.dist-info/entry_points.txt,sha256=RKjFLiz02NSodLcgVDp8pnYX6zEa7VhrH_1GXnnt9d8,381
16
+ unity_devkit-0.1.13.dist-info/licenses/LICENSE,sha256=RFhQPdSOiMTguUX7JSoIuTxA7HVzCbj_p8WU36HjUQQ,10947
17
+ unity_devkit-0.1.13.dist-info/licenses/NOTICE,sha256=jvglZza3GCdN7v4_TLuXUqX9C_uABlwAKUkcIeKwk_8,26
18
+ unity_devkit-0.1.13.dist-info/RECORD,,