Saturday, 10 August 2013

Convert to virtualenv an existing project by copying site-packages

Convert to virtualenv an existing project by copying site-packages

I have an old Django project that I want to convert to use virtualenv. If
I could copy the current global Python packages to the new env, I think
I'd be assured that I'd have the same environment and would save myself
some time over creating a requirements file by hand. So, could I just copy
the global site-packages contents into the env's site-packages directory?

No comments:

Post a Comment