Skip to content

Commit cfcc378

Browse files
committed
Wheel support in pip needs current setuptools
When virtualenvs are used without distribute and an old setuptools python package is installed in the system, upgrading pip in the virtualenv won't ensure setuptools > 0.8 is installed which is required by the pip wheel command. This patch upgrades setuptools if distribute isn't used. Signed-off-by: Franz Pletz <[email protected]>
1 parent 743c577 commit cfcc378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/virtualenv.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112

113113
$distribute_pkg = $distribute ? {
114114
true => 'distribute',
115-
default => '',
115+
default => 'setuptools',
116116
}
117117
$pypi_index = $index ? {
118118
false => '',

0 commit comments

Comments
 (0)