Skip to content

Commit

Permalink
Change Development Status clasifier to Producation/Stable
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 7, 2016
1 parent deaedf1 commit 199763e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
## 安装

从 0.8.0 版本开始,wechatpy 消息加解密同时兼容 [cryptography](https://github.com/pyca/cryptography)[PyCrypto](https://github.com/dlitz/pycrypto),
优先使用 cryptography 库。因而不再强制依赖 PyCrypto 库。请先自行安装 cryptography 或者 PyCrypto 库:
优先使用 cryptography 库。因而不再强制依赖 PyCrypto 库。可先自行安装 cryptography 或者 PyCrypto 库:

```bash
# 安装 cryptography
Expand All @@ -37,7 +37,13 @@ pip install pycrypto>=2.6.1
推荐使用 pip 进行安装:

pip install wechatpy
```bash
pip install wechatpy
# with cryptography
pip install wechatpy[cryptography]
# with pycrypto
pip install wechatpy[pycrypto]
```

升级版本:

Expand Down
10 changes: 8 additions & 2 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,22 @@
目前 wechatpy 支持的 Python 环境有 2.6, 2.7, 3.3, 3.4, 3.5, pypy 和 pypy3。

从 0.8.0 版本开始,wechatpy 消息加解密同时兼容 cryptography 和 PyCrypto, 优先使用 cryptography 库。
因而不再强制依赖 PyCrypto 库。请先自行安装 cryptography 或者 PyCrypto 库::
因而不再强制依赖 PyCrypto 库。可先自行安装 cryptography 或者 PyCrypto 库::

# 安装 cryptography
pip install cryptography>=0.8.2
# 或者安装 PyCrypto
pip install pycrypto>=2.6.1

为了简化安装过程,推荐使用 pip 进行安装::
为了简化安装过程,推荐使用 pip 进行安装

.. code-block:: bash
pip install wechatpy
# with cryptography
pip install wechatpy[cryptography]
# with pycrypto
pip install wechatpy[pycrypto]
升级 wechatpy 到新版本::

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run_tests(self):
],
cmdclass={'test': PyTest},
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: POSIX',
Expand Down

0 comments on commit 199763e

Please sign in to comment.