davidmarble / virtualenvwrapper-win

Port of Doug Hellmann's virtualenvwrapper to Windows batch scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is cpvirtualenv not implemented?

bertday opened this issue · comments

I was just wondering -- is the the cpvirtualenv command not implemented in virtualenvwrapper-win? If not, what would be the best workaround for renaming a virtualenv?

Thanks!

commented

It is not implemented in virtualenvwrapper-win. The implementation in the "mother"-project is here: https://bitbucket.org/virtualenvwrapper/virtualenvwrapper/src/d2e5303bbe6ab2f33d318fadb71bc3162108e4cc/virtualenvwrapper.sh?at=master&fileviewer=file-view-default#virtualenvwrapper.sh-948

Besides checking inputs and calling hooks, all it does is call virtualenv-clone (https://pypi.python.org/pypi/virtualenv-clone), which seems to be working fine on windows.

They've included it as a dependency (i.e. not vendorized). We could do the same, i.e. add 'virtualenv-clone' to install_requires=[..] in setup.py.