管理pip前端的本地python模块
hytouch的Python项目详细描述
hytouch
hytouch是一个本地包,用于管理pip的前端。
要求
- Python3.7
- 当前的hytouch是针对python 3.7的硬编码。计划安装其他python版本修补程序
- hy(>;=0.15.0)https://github.com/hylang/hy
- 类unix的cli
用法
将package.hy放在项目根目录上。示例:
(setvpackage{"dependencies"{"numpy"{}"hy==0.15.0"{}"jupyter"{}}"tasks"{"lab"["jupyter""lab"]"notebook"["jupyter""notebook"]"test"["ls""/home/takuma"]}})
- 根元素需要变量“package”
- “依赖项”是字典对象,包括包名称->;可选值
- 在当前版本中,将忽略可选值
- “tasks”是字典对象,包括任务名称->;命令参数数组
安装软件包
hytouch install
“dependencies”将安装到project_root/.hytouch
运行任务
hytouch run test
将执行ls命令。