Closed DimedS closed 2 months ago
Regarding point 1, I tried several approaches to print a message after the pip install
command. The best result I achieved was printing something in verbose mode (-v) during the pip install .
command (or during the package build stage) using the setup.py
file. Based on my investigation, it appears there is currently no way to print a message after installing from a .whl file. Therefore, I propose removing this requirement and focusing solely on point 2. I also checked that other packages with opt-out telemetry do not print anything after pip install
. @astrojuanlu
I think it will be difficult or outright impossible to display it after pip install
. Precompiled wheels are just unzip && cp
, no chance to give any message.
Oh I see how my phrasing led you into investigating this. Yeah, enough with Kedro commands.
Oh I see how my phrasing led you into investigating this. Yeah, enough with Kedro commands.
I reread your phrase and understand that it seems you mean installing Kedro and then executing kedro run
and then printing. I interpreted it slightly differently)) However, it would actually be great to print it after running pip install kedro
, before the user executes any command, but it looks like there really is no way to do that.
Description
Part of https://github.com/kedro-org/kedro-plugins/issues/715:
Implement a new telemetry message to inform users about anonymous usage data collection:
Display that message after:
pip install kedro
command.kedro-telemetry
plugin was used to send telemetry (consent wasn't disabled).QUESTION PLEASE COMMENT: Should we message something If consent was disabled Currently, the message displayed when consent is disabled is: