Skip to content

Commit d3b4cf6

Browse files
committed
Merge pull request #105 from qiniu/develop
Release 6.1.5
2 parents 5b18d36 + 5be1e25 commit d3b4cf6

30 files changed

+1806
-1565
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ python:
44
- "2.7"
55
install:
66
- "pip install coverage --use-mirrors"
7+
- "pip install pep8 --use-mirrors"
8+
- "pip install pyflakes --use-mirrors"
79
before_script:
10+
- "pep8 --max-line-length=160 ."
11+
- "pyflakes ."
812
- export QINIU_ACCESS_KEY="X0XpjFmLMTJpHB_ESHjeolCtipk-1U3Ok7LVTdoN"
913
- export QINIU_SECRET_KEY="wenlwkU1AYwNBf7Q9cCoG4VT_GYyrHE9AS_R2u81"
1014
- export QINIU_TEST_BUCKET="pysdk"
1115
- export QINIU_TEST_DOMAIN="pysdk.qiniudn.com"
16+
- export QINIU_TEST_ENV="travis"
1217
- export PYTHONPATH="$PYTHONPATH:."
1318
script:
1419
- python setup.py nosetests

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## CHANGE LOG
22

3+
### v6.1.5
4+
5+
2014-04-28 issue [#105](https://github.com/qiniu/python-sdk/pull/105)
6+
- [#100] 遵循PEP8语法规范
7+
- [#101] 增加pyflakes语法检测
8+
- [#103] 错误信息中加入Reqid信息,以便追溯
9+
- [#104] 完善User-Agent头信息,以便追溯
10+
- [#98] 增加fetch、prefetch、pfop三个接口的范例代码
11+
312
### v6.1.4
413

514
2014-03-28 issue [#95](https://github.com/qiniu/python-sdk/pull/95)

README.md

+24-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
11
Qiniu Resource Storage SDK for Python
22
===
33

4-
[![Build Status](https://api.travis-ci.org/qiniu/python-sdk.png?branch=develop)](https://travis-ci.org/qiniu/python-sdk)
4+
[![Build Status](https://api.travis-ci.org/qiniu/python-sdk.png?branch=master)](https://travis-ci.org/qiniu/python-sdk)
55

6-
[![Qiniu Logo](http://qiniutek.com/images/logo-2.png)](http://qiniu.com/)
6+
[![Qiniu Logo](http://qiniu-brand.qiniudn.com/5/logo-white-195x105.png)](http://www.qiniu.com/)
77

88
## 使用
99

1010
参考文档:[七牛云存储 Python SDK 使用指南](https://github.com/qiniu/python-sdk/blob/develop/docs/README.md)
1111

12+
## 准备开发环境
13+
14+
### 安装
15+
16+
* 直接安装:
17+
18+
pip install qiniu
19+
20+
easy_install qiniu
21+
22+
Python-SDK可以使用`pip``easy_install`从PyPI服务器上安装,但不包括文档和样例。如果需要,请下载源码并安装。
23+
24+
* 源码安装:
25+
26+
[release](https://github.com/qiniu/python-sdk/releases)下载源码:
27+
28+
tar xvzf python-sdk-$VERSION.tar.gz
29+
cd python-sdk-$VERSION
30+
python setup.py install
31+
32+
1233
## 单元测试
1334

1435
1. 测试环境
@@ -36,7 +57,7 @@ Qiniu Resource Storage SDK for Python
3657

3758
## 许可证
3859

39-
Copyright (c) 2013 qiniu.com
60+
Copyright (c) 2012-2014 qiniu.com
4061

4162
基于 MIT 协议发布:
4263

0 commit comments

Comments
 (0)