Skip to content

Commit 363f623

Browse files
Add Maya 2025 python requirements.
1 parent 830abba commit 363f623

File tree

3 files changed

+87
-0
lines changed

3 files changed

+87
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (C) 2022 David Cattermole.
4+
#
5+
# This file is part of mmSolver.
6+
#
7+
# mmSolver is free software: you can redistribute it and/or modify it
8+
# under the terms of the GNU Lesser General Public License as
9+
# published by the Free Software Foundation, either version 3 of the
10+
# License, or (at your option) any later version.
11+
#
12+
# mmSolver is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU Lesser General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Lesser General Public License
18+
# along with mmSolver. If not, see <https://www.gnu.org/licenses/>.
19+
# ---------------------------------------------------------------------
20+
#
21+
# Activates the Python development environment for Maya 2025.
22+
#
23+
# This script should be sourced, NOT called, for example:
24+
# $ source scripts/python_venv_activate_maya2025.bash
25+
#
26+
27+
# The -e flag causes the script to exit as soon as one command returns
28+
# a non-zero exit code.
29+
set -ev
30+
31+
PROJECT_ROOT=`pwd`
32+
33+
MAYA_VERSION=2025
34+
35+
# Python executable - edit this to point to an explicit python executable file.
36+
#
37+
# RockyLinux8 has Python 3.6 by default, but we use Python 3.9 because
38+
# it has better support for tools like 'ruff'.
39+
PYTHON_EXE=python3.9
40+
41+
PYTHON_VIRTUAL_ENV_DIR_NAME="python_venv_linux_maya${MAYA_VERSION}"
42+
source "${PROJECT_ROOT}/scripts/internal/python_venv_activate.bash"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
@ECHO OFF
2+
::
3+
:: Copyright (C) 2021 David Cattermole.
4+
::
5+
:: This file is part of mmSolver.
6+
::
7+
:: mmSolver is free software: you can redistribute it and/or modify it
8+
:: under the terms of the GNU Lesser General Public License as
9+
:: published by the Free Software Foundation, either version 3 of the
10+
:: License, or (at your option) any later version.
11+
::
12+
:: mmSolver is distributed in the hope that it will be useful,
13+
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
:: GNU Lesser General Public License for more details.
16+
::
17+
:: You should have received a copy of the GNU Lesser General Public License
18+
:: along with mmSolver. If not, see <https://www.gnu.org/licenses/>.
19+
:: ---------------------------------------------------------------------
20+
::
21+
:: Activates the Python development environment for Maya 2025.
22+
23+
SET PROJECT_ROOT=%CD%
24+
25+
SET MAYA_VERSION=2025
26+
27+
:: Python executable - edit this to point to an explicit python executable file.
28+
SET PYTHON_EXE=python
29+
30+
SET PYTHON_VIRTUAL_ENV_DIR_NAME=python_venv_windows64_maya%MAYA_VERSION%
31+
CALL %PROJECT_ROOT%\scripts\internal\python_venv_activate.bat
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Python Package Requirements.
2+
#
3+
# Expects Python 3.9.x
4+
5+
# Tools needed for code linting and formatting.
6+
black == 24.8.0
7+
pylint == 3.2.7
8+
flake8 == 7.1.1
9+
cpplint == 1.6.1
10+
ruff == 0.6.5
11+
12+
# Tools needed for documentation building.
13+
Sphinx == 7.4.7
14+
furo == 2024.8.6

0 commit comments

Comments
 (0)