安装devpi

1. 安装Python

wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xz --no-check-certificate

./configure && make && make install


echo '......install setuptool...........'
wget https://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e --no-check-certificate
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py install
easy_install virtualenv


2. 安装devpi

pip install devpi


3.初始化devpi

devpi quickstart 命令在你本地机器上执行一些基础的初始化步骤:

 创建index
devpi-server --start
devpi user -c root password=1234
devpi login root
devpi index -c ace
devpi use ace

你可能感兴趣的:(linux/unix,python)