pip executes with sudo privileges

This commit is contained in:
Prasanna Santhanam 2012-06-26 14:38:47 +05:30
parent 2f678f5697
commit d060086056
1 changed files with 4 additions and 3 deletions

View File

@ -45,11 +45,12 @@ file except in compliance with the License. Citrix Systems, Inc. -->
<target name="install-marvin" depends="package-marvin" description="installs marvin on the local machine">
<echo message="Uninstalling Marvin" />
<exec dir="${marvin.dist.dir}" executable="pip">
<arg line="uninstall -y marvin"/>
<exec dir="${marvin.dist.dir}" executable="sudo">
<arg line="pip uninstall -y marvin"/>
</exec>
<echo message="Installing Marvin" />
<exec dir="${marvin.dist.dir}" executable="pip">
<exec dir="${marvin.dist.dir}" executable="sudo">
<arg value="pip" />
<arg value="install" />
<arg value="Marvin-0.1.0.tar.gz" />
</exec>