Skip to main content

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


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)

Uploaded Source

Built Distribution

pyeal-0.1.5-py2.py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page