classification
Title: Add stop_after parameter to setup()
Type: enhancement Stage: resolved
Components: Distutils Versions: Python 3.5
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, jaraco, memeplex
Priority: normal Keywords:

Created on 2016-03-11 17:56 by memeplex, last changed 2020-10-23 03:54 by eric.araujo. This issue is now closed.

Messages (2)
msg261588 - (view) Author: Memeplex (memeplex) Date: 2016-03-11 17:56
The current implementation offers a stop_after parameter for run_setup() but not for setup(). This design has some shortcomings:

1. It couples the possibility to stop setup after some phase to the fact that the setup function resides in another file. But the feature is also useful when directly invoking setup (for example, if you want to tweak the dist before running it).

2. The other parameters to run_setup are already parameters to setup. It would be more consistent to make all three parameters common to both methods.

3. Arguably messy global variable manipulation to communicate run_setup and setup.
msg379403 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2020-10-23 03:54
distutils isn’t improved anymore.

This might interest the setuptools project, which uses its copy of distutils.
History
Date User Action Args
2020-10-23 03:54:45eric.araujosetstatus: open -> closed
nosy: + jaraco, - dstufft
messages: + msg379403

resolution: wont fix
stage: resolved
2016-03-11 17:56:37memeplexcreate