constructor conda 软件安装包构建工具

constructor 可以用来方便的进行软件包的构建,目前包含了pkg.exe,sh 可以支持不同的操作系统,以下是一个简单使用

准备conda 环境

  • 命令
conda create -n con constructor
// 激活
conda activate con

使用

construct.yaml 准备,同时还需要一些其他必备文件EULA.txt photo.png

  • construct.yaml
name: myapp
version: "2.5.5"
installer_type: sh
channels:
  - "http://repo.continuum.io/pkgs/main/"
specs:
  - python 3.10.*
  - conda
  - mkl  # [win]
  - numpy
  - scipy
  - pandas
license_file: EULA.txt
welcome_image: photo.png  # [win]
  • 构建
constructor  .
  • 效果

  • 安装

说明

以上是一个简单使用说明,使用好constructor 对于自定义conda 环境还是很方便的

参考资料

https://conda.github.io/constructor/getting-started/
https://github.com/conda/constructor
https://makeself.io/
https://github.com/megastep/makeself

posted on   荣锋亮  阅读(34)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2020-07-25 jsonx 基于json 创建react 组件
2020-07-25 json parse 解析js function
2020-07-25 通过json 响应添加js function 增强业务灵活程度
2019-07-25 通过granfana 以及prometheus 比较zulu 、oracle、openjdk 等jvm 运行
2018-07-25 hasura graphql 角色访问控制
2018-07-25 hasura graphql schema 导出
2018-07-25 hasura graphql 模式拼接demo

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示