from django.core import management;import mip_server.settings as settings;management.setup_environ(settings)
from mip_server.shares import riak_dal
import riak
client = riak.RiakClient("10.135.81.229", port=8081, transport_class=riak.RiakPbcTransport)
flag=riak_dal.share_bucket.get("abcd").exists()
dpkg 使用:http://wrchiu.blog.51cto.com/817024/359085