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 details)
Built Distribution
File details
Details for the file custom_maya-0.0.0.tar.gz
.
File metadata
- Download URL: custom_maya-0.0.0.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac540fa740d4ffb9cea535250cf5ff50ce2b086a1c1ec313e733a7d29dbbe9a |
|
MD5 | 33a29a6339ff52a1bca6314eaa216ea0 |
|
BLAKE2b-256 | ab60a2a1e4e2613890aa069f2ae25d6978fecb36b4bc30887aa5138f74a080b5 |
File details
Details for the file custom_maya-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: custom_maya-0.0.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 181a9ba8e9b82afaa570232a6f54154b403b8412f7af5ce4c915395d86360251 |
|
MD5 | 17b4965efc13b7bca8075aa79907373a |
|
BLAKE2b-256 | fd7e185bf4659c3c8ca91d2f5f42c9bf366b342250057d9d1ac8f8ff9c745dcc |