Skip to content

calject/py-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-shell

安装

安装一 (合并)

  • 合并命令
git clone https://github.com/calject/py-shell.git && cd py-shell && pip3 install -r package.txt && python3 ./pybuilder.py -p && source ~/.bash_profile && source ~/.zshrc

安装二 (分步)

  1. clone项目到任意目录或者fork到自己的github账户,然后执行git clone
git clone https://github.com/calject/py-shell.git
  1. 安装模块pip3 install -r ./package.txt (注: 安装不成功配置下国内镜像源)

  2. 在项目目录下执行python3 ./pybuilder.py命令

  3. 执行source ~/.zshrc 或者 source ~/.bash_profile

  4. 执行完成后在任意位置执行pybuilder(可在pybuilder.yaml中修改该命令别名)构建

代理问题(如果pip安装失败,配置一下pip安装源)

  • 配置安装源
mkdir -p ~/.pip && vim ~/.pip/pip.conf
  • 豆瓣
[global]
index-url=https://pypi.douban.com/simple/
[install]
use-mirrors=true
mirrors=https://pypi.douban.com/simple/
trusted-host=pypi.douban.com
  • 阿里
[global]
index-url=https://mirrors.aliyun.com/pypi/simple
[install]
use-mirrors=true
mirrors=https://mirrors.aliyun.com/pypi/simple
trusted-host=mirrors.aliyun.com

使用:

  • pybuilder.yaml配置文件中配置相关生成脚本路径参数

About

python shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published