Skip to content

Instantly share code, notes, and snippets.

@s-weigand
Last active December 18, 2019 17:48
Show Gist options
  • Select an option

  • Save s-weigand/1db8cb855e333b5a582493755cd142ca to your computer and use it in GitHub Desktop.

Select an option

Save s-weigand/1db8cb855e333b5a582493755cd142ca to your computer and use it in GitHub Desktop.
Create tox env on Windows with conda
from __future__ import division, print_function
for vers in [27,35,36,37,38]:
print("conda create -p C:\python{} python={} -y".format(vers, vers/10))
@s-weigand
Copy link
Author

s-weigand commented Mar 28, 2018

Install commands for python on widows default dir for tox to find it

output:
conda create -p C:\python27 python=2.7 -y
conda create -p C:\python35 python=3.5 -y
conda create -p C:\python36 python=3.6 -y
conda create -p C:\python37 python=3.7 -y
conda create -p C:\python38 python=3.8 -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment