This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author elmjag
Recipients docs@python, elmjag, sobolevn
Date 2021-12-13.07:53:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639381987.71.0.348255695309.issue46005@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-12-13 07:53:07elmjagsetrecipients: + elmjag, docs@python, sobolevn
2021-12-13 07:53:07elmjagsetmessageid: <1639381987.71.0.348255695309.issue46005@roundup.psfhosted.org>
2021-12-13 07:53:07elmjaglinkissue46005 messages
2021-12-13 07:53:07elmjagcreate