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 gregory.p.smith
Recipients docs@python, gregory.p.smith, larry
Date 2017-05-27.18:28:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495909690.05.0.0866994683674.issue30492@psf.upfronthosting.co.za>
In-reply-to
Content
I never do in-tree builds anymore because they make me feel dirty and leave build artifacts cluttering up my source tree.

make clinic does not work for out of tree builds.

To reproduce:

~$ git clone ...cpython repo...
~$ mkdir build && cd build
~/build$ ../cpython/configure --with-pydebug
~/build$ make clinic
./python -E ./Tools/clinic/clinic.py --make
./python: can't open file './Tools/clinic/clinic.py': [Errno 2] No such file or directory
Makefile:545: recipe for target 'clinic' failed
make: *** [clinic] Error 2

Per https://docs.python.org/3/howto/clinic.html it looks like I can just manually run clinic.py on the files I have modified.  Ideally the build system would take care of that for me.  But all I really want is a single command that keeps me up to date.

python3 Tools/clinic/clinic.py  appears to be that command.  Even if it isn't fixed for out of tree builds, use of clinic needs to be in the devguide.
History
Date User Action Args
2017-05-27 18:28:10gregory.p.smithsetrecipients: + gregory.p.smith, larry, docs@python
2017-05-27 18:28:10gregory.p.smithsetmessageid: <1495909690.05.0.0866994683674.issue30492@psf.upfronthosting.co.za>
2017-05-27 18:28:09gregory.p.smithlinkissue30492 messages
2017-05-27 18:28:09gregory.p.smithcreate