prompt in session_setup
Published: Dec 9, 2015 - 11:46
Hello,
I'm trying to automate proxy configuration during Node.js installation.
I've created a `session_setup()` method in the `setup.py` file, where I create a `.npmrc` file in the user's home directory and add the `proxy` property, which is of the type:
`proxy=http://`
I would like to create a prompt that asks the user for this information when they click the link:
"configure all packages installed for your session".
Is this possible natively in the setup.py script?
Thanks
, Gildas
I'm trying to automate proxy configuration during Node.js installation.
I've created a `session_setup()` method in the `setup.py` file, where I create a `.npmrc` file in the user's home directory and add the `proxy` property, which is of the type:
`proxy=http://`
I would like to create a prompt that asks the user for this information when they click the link:
"configure all packages installed for your session".
Is this possible natively in the setup.py script?
Thanks
, Gildas