I think it would be very helpful to include an example how to build with setuptools as well. As it in the end boils down to two simple steps:
* install 'setuptools' package
* change import line:
"from distutils.core import setup, Extension"
to
"from setuptools import setup, Extension"
It took me a lot of time to figure out that 'setuptools' have this 'drop-in replacement' API for distutils. IMHO, it's not very well documented anywhere.
I can make a PR with such addition, if you thinks it's good idea. |