I want to create one virtualenv using another as the starting point, is this possible?
I have to use cases in mind:
Let's say I have a two
virtualenvone for production and one for development. The development environment requires the same packages as the production environment, but it requires others I don't want in the production environment. I don't want to install the common packages twice.I want to experiment with a development version of a package, say
matplotlibfor example. The development version of the package has the same requirements as the stable version. So I create avirtualenvcalledmatplotib_stableand install the requirements and the stable version. Then I create a secondvirtualenvcalledmatplotlib_devand usematplotlib_stableas a starting point (for thematplotlibrequirements) but then I install the development version.
How do I install from a local cache with pip? seems to address the issue of downloading packages, but I don't think it deals with modifying sys.path.