File tree Expand file tree Collapse file tree 6 files changed +50
-3
lines changed Expand file tree Collapse file tree 6 files changed +50
-3
lines changed Original file line number Diff line number Diff line change @@ -99,5 +99,3 @@ venv.bak/
99
99
100
100
# PyCharm
101
101
.idea
102
-
103
- packages /tp-game-tools /
Original file line number Diff line number Diff line change 1
1
include README.rst
2
2
include LICENSE
3
+ include tp/nodegraph/settings.json
4
+ include tp/nodegraph/examples/menu.json
3
5
recursive-include tp/resources/* *.*
Original file line number Diff line number Diff line change
1
+ # ===================================================================
2
+ # tp-dcc development requirements file
3
+ # ===================================================================
4
+
5
+ ruff
6
+ ruff-lsp
7
+ pytest
8
+ pytest-cov
9
+ PySide6
10
+ Qt.py
Original file line number Diff line number Diff line change 3
3
# ===================================================================
4
4
5
5
setuptools_scm
6
+ PyYAML
6
7
7
8
# sphinx
8
9
# sphinx_rtd_theme
9
- # PyYAML
10
10
# metayaml
11
11
# yamlordereddictloader
12
12
# six
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ REM The Python virtual environment cannot be called directly from mayapy.
4
+ REM Instead a soft link needs to be made to mayapy from a command called "python" within the same directory,
5
+ REM and venv needs to be called from this python command.
6
+ REM "https://help.autodesk.com/view/MAYACRE/ENU/?guid=GUID-6AF99E9C-1473-481E-A144-357577A53717"
7
+
8
+ REM Set the path to Maya's Python interpreter
9
+ set MAYAPY_PATH = " C:\Program Files\Autodesk\Maya2025\bin\python.exe"
10
+
11
+ REM Get the directory where the batch file is located
12
+ set BATCH_DIR = %~dp0
13
+
14
+ REM Set the directory for the virtual environment
15
+ set VENV_DIR = " %BATCH_DIR% venvs\maya2025"
16
+
17
+ REM Create the virtual environment
18
+ %MAYAPY_PATH% -m venv %VENV_DIR%
19
+
20
+ REM Activate the virtual environment
21
+ call %VENV_DIR% \Scripts\activate.bat
22
+
23
+ REM Install the packages from requirements.txt if it exists
24
+ if exist " %BATCH_DIR% requirements.txt" (
25
+ pip install -r " %BATCH_DIR% requirements.txt"
26
+ echo Installed packages from requirements.txt
27
+ ) else (
28
+ echo No requirements.txt found. Skipping package installation.
29
+ )
30
+
31
+ REM Install the packages from requirements-dev.txt if it exists
32
+ if exist " %BATCH_DIR% requirements-dev.txt" (
33
+ pip install -r " %BATCH_DIR% requirements-dev.txt"
34
+ echo Installed packages from requirements-dev.txt
35
+ ) else (
36
+ echo No requirements-dev.txt found. Skipping package installation.
37
+ )
You can’t perform that action at this time.
0 commit comments