wlav / cppyy

Other
391 stars 40 forks source link

add command to install virtualenv package #134

Closed amr-atif closed 1 year ago

amr-atif commented 1 year ago

the documentation is not clear on this point as we need to add a command to install virtualenv package to be able to create a virtual environment

$ python -m pip install virtualenv

and added a description before it. closes #133

wlav commented 1 year ago

I think that at this point (with most Pythons in the wild newer than 3.3), it's better to change the text wholesale to use venv with a reference to virtualenv just for old Pythons, rather than the opposite as is the case now.

amr-atif commented 1 year ago

I have edited the creation of venv commands so we can use venv instead of virtualenv as most people use modern versions of python. then I updated the description and added a note to explain how to use virtualenv for old versions of python.

amr-atif commented 1 year ago

What do you think about it this way, do you recommend a better way that will make it more clear? @wlav

wlav commented 1 year ago

Thanks!