I created an Heroku buildpack to support the installation of the couchbase client on heroku. I think it should be interesting to share it with you.
Instruction and code can be found here: https://github.com/utribo/heroku-buildpack-couchbase-python.
As long as you set this buildpack for your python heroku project, it will detect if “couchbase” exists in your project requirements file and install “libcouchbase” for you.
There’s also instruction on how to upgrade libcouchbase if necessary.