Maya的便利工具
Project description
项目说明
此工具内含各种实用工具。仅为测试用!!!
仅支持Maya2023及以上版本。
参照
安装并获取更新
使用 pip 安装
pip install custom-maya
需要使用 mayapy 环境安装。
测试用
Xcopy custom_maya "C:\Program Files\Autodesk\Maya2023\Python\Lib\site-packages\custom_maya" /E/H/C/I
如何设置IDE
制作从名为 python 的命令创建指向 mayapy 的软链接
cd "C:\Program Files\Autodesk\Maya2023\bin"
mklink python.exe mayapy.exe
将IDE的解释器设置为
"C:\Program Files\Autodesk\Maya2023\bin\python.exe"
例子
获取某根目录下所有Maya文件的信息
打包上传到pipy
升级
#cd "C:\Program Files\Autodesk\Maya2023\bin"
mayapy.exe -m pip install --upgrade pip
mayapy.exe -m pip install --upgrade build
mayapy.exe -m pip install --upgrade pip
python -m build
上传测试包
python -m twine upload --repository testpypi dist/*
上传正式版本包
python -m twine upload dist/*
安装本地whl包
cd "C:\Program Files\Autodesk\Maya2023\bin"
mayapy.exe -m pip install D:\github\custom_maya\dist\custom_maya-0.0.23-py3-none-any.whl
测试本地代码
构建
python -m build
安装到本地
cd "C:\Program Files\Autodesk\Maya2023\bin"
mayapy.exe -m pip install D:\github\custom_maya\dist\custom_maya-0.0.23-py3-none-any.whl --force-reinstall
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
custom_maya-0.0.0.tar.gz
(31.0 kB
view hashes)
Built Distribution
Close
Hashes for custom_maya-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 181a9ba8e9b82afaa570232a6f54154b403b8412f7af5ce4c915395d86360251 |
|
MD5 | 17b4965efc13b7bca8075aa79907373a |
|
BLAKE2b-256 | fd7e185bf4659c3c8ca91d2f5f42c9bf366b342250057d9d1ac8f8ff9c745dcc |