This is exactly the same as this question.
The accepted (and only) answer uses distutils which is deprecated.
Simply replacing from distutils.core import setup with from setuptools import setup
and from setuptools.command import install as _install with from distutils.command.install import install as _install
is not enough, because api differs.
I am looking for a solution using setuptools.
