jenkinsci / pyenv-pipeline-plugin

Execute commands in Python virtualenvs in Jenkins Pipeline DSL
https://plugins.jenkins.io/pyenv-pipeline/
MIT License
33 stars 15 forks source link

Add option --no-setuptools/--no-pip/--no-wheel #39

Open grigouze opened 4 years ago

grigouze commented 4 years ago

Hello.

As virtualenv try to create a new virtualenv with latest setuptools/pip, I want to specify the version of setuptools.

Is it possible to add an option so we can pass it to virtualenv like "--no-setuptools" ?

For example, setuptools drop support python2.7, so i want to install setuptools<45.0.0 but after the creation of the virtualenv.

Thanks.

romuald commented 4 years ago

--no-download also work in this instance