Skip to main content

项目说明

此工具内含各种实用工具。仅为测试用!!!

仅支持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

Metadata

Release files for custom-maya 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for custom-maya 0.0.0
File Size Uploaded Provenance Actions
custom_maya-0.0.0.tar.gz 31.0 kB Without provenance Details for custom_maya-0.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for custom-maya 0.0.0
File Interpreter ABI Platform Actions
custom_maya-0.0.0-py3-none-any.whl Python 3 none any Details for custom_maya-0.0.0-py3-none-any.whl

Total release size: 51.7 kB

Release files / custom_maya-0.0.0.tar.gz

Download URL custom_maya-0.0.0.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac540fa740d4ffb9cea535250cf5ff50ce2b086a1c1ec313e733a7d29dbbe9a
BLAKE2b-256 checksum
How to use checksums
ab60a2a1e4e2613890aa069f2ae25d6978fecb36b4bc30887aa5138f74a080b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / custom_maya-0.0.0-py3-none-any.whl

Download URL custom_maya-0.0.0-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
181a9ba8e9b82afaa570232a6f54154b403b8412f7af5ce4c915395d86360251
BLAKE2b-256 checksum
How to use checksums
fd7e185bf4659c3c8ca91d2f5f42c9bf366b342250057d9d1ac8f8ff9c745dcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Security for custom-maya 0.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page