Skip to content

Commit 545aa96

Browse files
committed
Update things to make a non-dcc wheel
1 parent 31289e2 commit 545aa96

File tree

11 files changed

+347
-73
lines changed

11 files changed

+347
-73
lines changed

buildmodfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def main(outpath, modname, modver, modpath):
4646
f"+ PLATFORM:{plat} MAYAVERSION:{year} {modname} {modver} {modrel}"
4747
)
4848
lines.append(f"plug-ins: {rel}")
49+
50+
pypath = rel.replace('plug-ins', 'pyModules')
51+
lines.append(f"PYTHONPATH +:= {pypath}")
4952
lines.append("")
5053

5154
if not os.path.isdir(basepath):

include/eigen

Submodule eigen updated 620 files

include/rapidjson

Submodule rapidjson updated 125 files

pyConfigure.bat

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
setlocal
2+
3+
SET PY_VERSION=3.9
4+
SET BUILD=pybuild_%PY_VERSION%
5+
SET COMPILER=Visual Studio 17 2022
6+
7+
SET PFX=%~dp0
8+
cd %PFX%
9+
rmdir %BUILD% /s /q
10+
mkdir %BUILD%
11+
cd %BUILD%
12+
13+
cmake ^
14+
-DBUILD_MAYA=NO ^
15+
-DMAYA_PYTHON=NO ^
16+
-DSYSTEM_PY_VERSION=%PY_VERSION% ^
17+
-G "%COMPILER%" ..\
18+
19+
cmake --build . --config RelWithDebInfo --target ALL_BUILD
20+
21+
pause

pyproject.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[project]
2+
name = "simplexui"
3+
version = "3.0.6"
4+
authors = [
5+
{ name="Tyler Fox", email="tyler@blur.com" },
6+
]
7+
description = "The Blur Studio Simplex Blendshape Combination System"
8+
readme = "README.md"
9+
requires-python = ">=3.7"
10+
classifiers = [
11+
"Programming Language :: Python :: 3.7",
12+
"Programming Language :: Python :: 3.8",
13+
"Programming Language :: Python :: 3.9",
14+
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: Implementation :: CPython",
16+
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
17+
"Operating System :: Microsoft :: Windows",
18+
"Operating System :: POSIX :: Linux",
19+
"Operating System :: MacOS :: MacOS X",
20+
]
21+
22+
dependencies = [
23+
"six",
24+
"PySide2",
25+
]
26+
27+
[project.urls]
28+
"Project Page" = "https://github.com/blurstudio/simplex"
29+
30+
[build-system]
31+
requires = ["hatchling"]
32+
build-backend = "hatchling.build"
33+
34+
35+
[tool.hatch.build]
36+
packages = ["/scripts/simplexui"]
37+
exclude = ["*.bak"]
38+
39+
[tool.hatch.build.targets.wheel.force-include]
40+
"pybuild_3.9/src/python/RelWithDebInfo/pysimplex.pyd" = "/pysimplex.pyd"

0 commit comments

Comments
 (0)