spotify/dh-virtualenv — pull request #60 by guilhem (2014-09-04 15:01:50+00:00)
Title: Change behavior by spliting build / install / clean phases.

/!\ Breaks compatibility

```
overrides_dh_virtualenv:
dh_virtualenv (options)
```
become
```
overrides_dh_virtualenv_build:
dh_virtualenv_build (options for build)

overrides_dh_virtualenv_install:
dh_virtualenv_install (options for install)

overrides_dh_virtualenv_clean:
dh_virtualenv_clean (there is no option ;))
```

On a typical run:
* `dh_virtualenv_build` create a virtualenv in `build_dir` (default to: `debian/dh_virtualenv`) and a `debian/dh_virtualenv.debhelper` file to log `build_dir` path.
* `dh_virtualenv_install` copy file from `build_dir` to correct place in package
* `dh_virtualenv_clean` clean `build_dir` and log file.

Additional option:
We can set destination dir in `dh_virtualenv_install` to install venv in another path in final package (default remain in `/usr/share/python/PACKAGE`)