Unqlite Python文档翻译(二)

第一章

安装

你可以使用pip安装unqlite。

pip install cython unqlite

这个项目的主页是 https://github.com/coleifer/unqlite-python可以从以下的源被安装

git clone https://github.com/coleifer/unqlite-python

cd unqlite-python

python setup.py build

python setup.py install

注:unqlite-python依赖Cpython驱动Python扩展。从0.5.0版本开始,unqlite-python不再附带生成的C源文件,因此需要安装Cython才能编译unqlite python。

在安装了unqlite-python后,你可以运行单元测试通过执行tests模块。

你可能感兴趣的:(Unqlite Python文档翻译(二))