Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

pip package now installs pip only. #122

Merged
merged 1 commit into from

2 participants

@krische

I removed the installation of the extra packages. Those should really be installed separately and not part of the pip chocolatey package. The comments on the chocolatey page agree with this.

@ferventcoder

Thanks, I inherited this package.

@ferventcoder ferventcoder merged commit 5f99a73 into ferventcoder:master
@ferventcoder

And it is up.

@krische

Oh wow, that was fast! Thanks!

@ferventcoder

Caught me at a good moment. PR looked good so ...done. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 25, 2014
  1. pip package now installs pip only.

    bkrisch authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 62 deletions.
  1. +3 −3 pip/pip.nuspec
  2. +0 −59 pip/tools/chocolateyInstall.ps1
View
6 pip/pip.nuspec
@@ -3,13 +3,13 @@
<metadata>
<id>pip</id>
<title>Pip(Python) Installs Packages</title>
- <version>1.1.1</version>
+ <version>1.2.0</version>
<authors>The pip developers</authors>
<owners>Elliando Dias</owners>
<summary>pip is a tool for installing and managing Python packages, such as those found in the Python Package Index</summary>
<description>pip is a tool for installing and managing Python packages, such as those found in the Python Package Index</description>
<projectUrl>http://www.pip-installer.org/en/latest/index.html</projectUrl>
- <tags>pip python easy_intall </tags>
+ <tags>pip python easy_install </tags>
<copyright>The pip developers</copyright>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
@@ -18,7 +18,7 @@
<dependency id="easy.install" version="" />
</dependencies>
<releaseNotes>
- By default, it will install the packages virtualenv, fabric, ipython and django
+ No longer installs the packages virtualenv, fabric, ipython and django
</releaseNotes>
</metadata>
<files>
View
59 pip/tools/chocolateyInstall.ps1
@@ -25,72 +25,13 @@ function Get-Python-Home() {
$global:python_home = Get-Python-Home
-$extras = @{
- 'name' = 'virtualenv';
- 'description' = 'virtualenv is a tool to create isolated Python environments';
- 'url' = 'http://www.virtualenv.org';
- 'block' = {
- $workon_home = Join-Path $env:USERPROFILE '.virtualenvs'
- CreateFolder $workon_home
- [Environment]::SetEnvironmentVariable('PIP_RESPECT_VIRTUAL_ENV', 'true', "User")
- [Environment]::SetEnvironmentVariable('PIP_VIRTUALENV_BASE', $workon_home, "User")
- [Environment]::SetEnvironmentVariable('WORKON_HOME', $workon_home, "User")
- }
-}, @{
- 'name' = 'fabric';
- 'description' = 'Fabric is a library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks';
- 'url' = 'http://fabfile.org'
-}, @{
- 'name' = 'ipython';
- 'description' = 'IPython provides a rich toolkit to help you make the most out of using Python';
- 'url' = 'http://ipython.org'
-}, @{
- 'name' = 'django';
- 'description' = 'Django is a high-level Python Web framework';
- 'url' = 'https://www.djangoproject.com';
- 'block' = {
- $django_bin = Join-Path $global:python_home 'lib\site-packages\django\bin'
- Install-ChocolateyPath $django_bin 'User'
- }
-}
-
-# @{'name'= 'buildout'; 'url' = 'http://www.buildout.org'; 'package' = 'zc.buildout' }
-# https://www.djangoproject.com' pip install -g Django
-
function CreateFolder ([string]$Path) {
New-Item -Path $Path -type directory -Force
}
-function install-extras() {
- Write-Host "Installing default packages"
- $extras | ForEach-Object {
- $name = $_.name
- $url = $_.url
- $description = $_.description
- $package = if ($_.ContainsKey('package')) { $_.package } else { $name }
- $block = if ($_.ContainsKey('block')) { $_.block } else { $null }
-
- $cmd = "pip install $package" # pip install -g $package
- Write-Host "Installing package '$name'
- description: $description
- url: $url
- wait..."
- Write-Host $cmd
- iex $cmd
-
- if ($block -ne $null) {
- &$block
- }
-
- Write-Host ""
- }
-}
-
function chocolatey-install() {
try {
easy_install pip
- install-extras
-
Write-ChocolateySuccess 'pip'
} catch {
Write-ChocolateyFailure 'pip' "$($_.Exception.Message)"
Something went wrong with that request. Please try again.