A set of tools for aliyun.
pip install virtualenv
pip install virtuanenvwrapper
touch ~/.bashrc
grep virtualenvwrapper.sh ~/.bashrc || echo 'source $(which virtualenvwrapper.sh)' >> ~/.bashrc
source ~/.bashrc
mkvirtualenv aliyun
Some of the need to set config(see Config).
Building
git clone https://github.com/teachmyself/aliyun.git
cd aliyun/ecs
./package.sh pack
pip install dist/aliyun_ecs-0.0.1.tar.gz
Installing by pip
pip install aliyun-ecs
Usage
ecs-metadata4vpc
This is a simple demo.
Directory Tree of aliyun-ecs
├── LICENSE # License file
├── MANIFEST.in #
├── Makefile
├── README.txt
├── metadata
│ ├── __init__.py
│ └── vpc.py
├── package.sh
├── requirements.txt
├── setup.cfg
└── setup.py