Python 打包编译工具
Project description
pyeal
新的 Python 打包编译工具
包名称是python seal的意思
目录
快速开始
注意下方的python是你的Python, 正常情况下可以直接通过python调用, 而Maya的python一般是C:\Program Files\Autodesk\Maya2018\bin\mayapy.exe
安装
python -m pip install pyeal
初始化
mkdir test_pyeal
cd test_pyeal
python -m pyeal init
编译
python -m pyeal build
功能介绍
目前大部分操作都通过命令行调用, 依赖于config.json配置功能。
配置
{
"type": "package",
"name": "your plugin name"
}
配置的各项参数
-
type: 你要封装的类型目前仅支持MayaPlugin
-
name: 你要封装的名称,一般作为名称空间或者名称前缀
-
exec_script: 启动脚本, 一般是导入某一个模块,然后执行启动函数
-
annotation: 注释
文件约定
-
icon.ico 在构建类型为maya-plugin或其他需要图标的编译类型的时候需要的文件
-
pyeal.json 构建配置文件
-
index.py 在编写复杂的启动脚本时,替代exec_script配置项的文件。
-
src/ 源代码目录
-
lib/ 依赖库目录
-
build/ 输出目录
版权说明
该项目签署了Apache-2.0 授权许可,详情请参阅 LICENSE
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
pyeal-0.1.5.tar.gz
(15.7 kB
view hashes)
Built Distribution
pyeal-0.1.5-py2.py3-none-any.whl
(17.5 kB
view hashes)
Close
Hashes for pyeal-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98694210f4c82163ea6aa7812c83e65ff9c746166ef7d2f6cb10c4c52251f53d |
|
MD5 | b8c101ae977f84542f6dd6c2e8501c87 |
|
BLAKE2b-256 | be1a17debe39cdd85fc284fe2a9f9025dc8b1fb859be30ccb1970865d95d7f0a |